diff options
| author | Ran Guin <[email protected]> | 2021-05-15 17:09:17 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2021-06-09 16:05:31 -0700 |
| commit | 832cfcce5479390a6bb60ba05909911129a8d084 (patch) | |
| tree | d6335c04f34b0681fb51e3698c39739541909093 | |
| parent | af07126dd3a8ad6201da3632cf880d5e52e814a3 (diff) | |
| download | coinos-server-832cfcce5479390a6bb60ba05909911129a8d084.tar.gz coinos-server-832cfcce5479390a6bb60ba05909911129a8d084.zip | |
fix user specification for Sequelize connection
| -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, |
