aboutsummaryrefslogtreecommitdiffstats
path: root/db
diff options
context:
space:
mode:
Diffstat (limited to 'db')
-rw-r--r--db/index.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/db/index.js b/db/index.js
index e18aec8e..e9a6052f 100644
--- a/db/index.js
+++ b/db/index.js
@@ -1,5 +1,5 @@
const Sequelize = require("sequelize");
-const conf = config.dbOptions;
+const conf = config.db;
const debug = require('debug')('test')
debug('DB connection: ', conf.host + ' : ' + conf.database + ' : ' + conf.user)
@@ -11,7 +11,6 @@ db = new Sequelize(conf.database, conf.user, conf.password, {
dialectOptions: conf.dialectOptions
});
-
debug('knex conf: ' + JSON.stringify(conf))
knex = require('knex')({
client: 'mysql2',