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 727ad8b2..37394ecf 100644
--- a/db/index.js
+++ b/db/index.js
@@ -1,9 +1,8 @@
const Sequelize = require("sequelize");
-const conf = config.dbOptions[process.env.NODE_ENV || "development"];
+const conf = config.dbOptions;
const debug = require('debug')('db')
debug('opt: ', JSON.stringify(conf))
-debug('dialect: ', JSON.stringify(conf.dialectOptions))
db = new Sequelize(conf.database, conf.username, conf.password, {
host: conf.host,