diff options
| author | Adam Soltys <[email protected]> | 2021-06-01 21:40:40 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2021-06-09 16:07:17 -0700 |
| commit | 386a3e099a1d8169a722549e1db0b71054ea06e8 (patch) | |
| tree | 376e67e8150488e27d973675d8e522e1724fba0b /db | |
| parent | ef2e67a7dce5c49a74ffca9440d0a256f69f9853 (diff) | |
| download | coinos-server-386a3e099a1d8169a722549e1db0b71054ea06e8.tar.gz coinos-server-386a3e099a1d8169a722549e1db0b71054ea06e8.zip | |
update sample config
Diffstat (limited to 'db')
| -rw-r--r-- | db/index.js | 3 |
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', |
