Quieter #13

Merged
ryanburnette merged 8 commits from quieter into master 2019-05-12 01:36:40 +00:00
1 changed files with 2 additions and 2 deletions
Showing only changes of commit 34ebfa40fc - Show all commits

View File

@ -17,9 +17,9 @@ module.exports.create = function (config={}) {
// they don't, we'll use the baked-in db with its defaults. // they don't, we'll use the baked-in db with its defaults.
Sequelize = require('sequelize'); Sequelize = require('sequelize');
if (config.storeDatabaseUrl) { if (config.storeDatabaseUrl) {
sequelize = new Sequelize(config.storeDatabaseUrl); sequelize = new Sequelize(config.storeDatabaseUrl,{ logging: false });
} else { } else {
sequelize = new Sequelize({ dialect: 'sqlite', storage: confDir + '/db.sqlite3' }); sequelize = new Sequelize({ dialect: 'sqlite', storage: confDir + '/db.sqlite3', logging: false });
} }
} }