From 386a3e099a1d8169a722549e1db0b71054ea06e8 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Tue, 1 Jun 2021 21:40:40 -0700 Subject: update sample config --- db/index.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'db') 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', -- cgit v1.2.3