Fixed DB
This commit is contained in:
@@ -146,6 +146,7 @@ async function main() {
|
||||
|
||||
app.ready(async () => {
|
||||
try {
|
||||
console.log("Testing DB Connection:")
|
||||
const result = await app.db.execute("SELECT NOW()");
|
||||
console.log("✓ DB connection OK: " + JSON.stringify(result.rows[0]));
|
||||
} catch (err) {
|
||||
|
||||
Reference in New Issue
Block a user