Minor Adjustments
This commit is contained in:
parent
1084f5d937
commit
f486d50efa
60 changed files with 1965 additions and 127 deletions
|
@ -5,6 +5,7 @@ import { migrate } from "postgres-migrations";
|
|||
import createPgp from "pg-promise";
|
||||
import moment from "moment";
|
||||
import { INFO, WARN, OK, VERB } from "../util/logging.js";
|
||||
|
||||
// Environment Variables
|
||||
const {
|
||||
QUALITEER_POSTGRES_DATABASE: database,
|
||||
|
@ -46,7 +47,7 @@ const connect = (pg) => async () => {
|
|||
// Override fake methods
|
||||
const pgInstance = pgp(dbConfig);
|
||||
for (var k in pgInstance) pg[k] = pgInstance[k];
|
||||
VERB("POSTGRES", "Migrated Successfully");
|
||||
VERB("POSTGRES", "Migrated Successfully!");
|
||||
await pg.connect();
|
||||
VERB("POSTGRES", "Postgres connected Successfully!");
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue