This MR is the first step towards Postgres-based config backend. It adds the DB schema.
Closes #90 (closed)