CREATE SCHEMA config;

CREATE TABLE config.databases
(
    id serial NOT NULL,
    name varchar NOT NULL,
    host varchar,
    port smallint,
    dbname varchar,
    "user" varchar,
    password varchar,

    PRIMARY KEY (id),
    UNIQUE (name)
);
