aboutsummaryrefslogtreecommitdiffstats
path: root/db
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2022-09-08 05:04:13 -0400
committerAdam Soltys <[email protected]>2022-09-08 05:04:13 -0400
commite36990c368d991e7cd52be874ad200fc3bc7205a (patch)
treeccfbf0666506854329a0e1f4eb52509b84b1d486 /db
parent913033c77ce21510f192e384d362d15e3313bb0f (diff)
downloadcoinos-server-e36990c368d991e7cd52be874ad200fc3bc7205a.tar.gz
coinos-server-e36990c368d991e7cd52be874ad200fc3bc7205a.zip
socket last seen
Diffstat (limited to 'db')
-rw-r--r--db/index.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/db/index.js b/db/index.js
index a98b6576..3d5aab36 100644
--- a/db/index.js
+++ b/db/index.js
@@ -1,10 +1,10 @@
import Sequelize from "@sequelize/core";
import db from "$db/db";
+import dbOptions from "$config/knexfile";
db.authenticate().catch(err => {
console.debug("Error connecting to database: " + err.message);
- console.log(dbOptions.connection.database + "." + dbOptions.connection.user);
});
import "./models/accounts";