Quieter #13
|
@ -19,7 +19,7 @@ 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,{ logging: false });
|
||||
sequelize = new Sequelize(config.storeDatabaseUrl, { logging: false });
|
||||
} else {
|
||||
sequelize = new Promise(function (resolve, reject) {
|
||||
confDir = confDir.replace(/~\//, require('os').homedir() + '/');
|
||||
|
|
Loading…
Reference in New Issue