Disabling sequelize console logging
This commit is contained in:
parent
ad6d6b79a4
commit
6f3a5c923e
@ -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'
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user