Minor Adjustments

This commit is contained in:
Dunemask 2023-03-19 13:53:37 -04:00
parent 1084f5d937
commit f486d50efa
60 changed files with 1965 additions and 127 deletions

View file

@ -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!");