Disabling sequelize console logging

This commit is contained in:
JayWll 2020-04-11 13:34:59 -06:00
parent ad6d6b79a4
commit 6f3a5c923e

View File

@ -4,6 +4,7 @@ const Op = Sequelize.Op
// Setup database, using credentials set in .env // Setup database, using credentials set in .env
const sequelize = new Sequelize('database', process.env.DB_USER, process.env.DB_PASS, { const sequelize = new Sequelize('database', process.env.DB_USER, process.env.DB_PASS, {
dialect: 'sqlite', dialect: 'sqlite',
logging: false,
storage: '.data/database.sqlite' storage: '.data/database.sqlite'
}); });