diff options
| -rw-r--r-- | db/index.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/db/index.js b/db/index.js index 4005b7d8..303f61ef 100644 --- a/db/index.js +++ b/db/index.js @@ -2,9 +2,9 @@ const Sequelize = require("sequelize"); const conf = config.dbOptions; const debug = require('debug')('test') -debug('DB connection: ', conf.database + ':' + conf.user) +debug('DB connection: ', conf.host + ' : ' + conf.database + ' : ' + conf.user) -db = new Sequelize(conf.database, conf.username, conf.password, { +db = new Sequelize(conf.database, conf.user, conf.password, { host: conf.host, dialect: conf.dialect, logging: false, |
