trying
This commit is contained in:
parent
db2b0ec82f
commit
34ebfa40fc
|
@ -17,9 +17,9 @@ module.exports.create = function (config={}) {
|
|||
// they don't, we'll use the baked-in db with its defaults.
|
||||
Sequelize = require('sequelize');
|
||||
if (config.storeDatabaseUrl) {
|
||||
sequelize = new Sequelize(config.storeDatabaseUrl);
|
||||
sequelize = new Sequelize(config.storeDatabaseUrl,{ logging: false });
|
||||
} else {
|
||||
sequelize = new Sequelize({ dialect: 'sqlite', storage: confDir + '/db.sqlite3' });
|
||||
sequelize = new Sequelize({ dialect: 'sqlite', storage: confDir + '/db.sqlite3', logging: false });
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue