You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 16, 2020. It is now read-only.
console.log("Connecting to: " + settings.pg.connectionString);
var pg_client = new pg.Client(settings.pg.connectionString);
pg_client.connect();
}
if (pg_client) {
console.log("Creating table `channels`");
var query = pg_client.query("CREATE TABLE channels (id character varying(64) NOT NULL, invited_by character varying(128), invited_at timestamp without time zone DEFAULT now());");
query.on('end', function() {
var query = pg_client.query("ALTER TABLE ONLY channels ADD CONSTRAINT channels_pkey PRIMARY KEY (id);");