From 832cfcce5479390a6bb60ba05909911129a8d084 Mon Sep 17 00:00:00 2001 From: Ran Guin Date: Sat, 15 May 2021 17:09:17 -0700 Subject: fix user specification for Sequelize connection --- db/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'db') 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, -- cgit v1.2.3