diff --git a/src/assets/models/index.js b/src/assets/models/index.js index f1a54964..06e468ad 100644 --- a/src/assets/models/index.js +++ b/src/assets/models/index.js @@ -9,7 +9,7 @@ var config = require(<%= configFile %>)[env]; var db = {}; if (config.use_env_variable) { - var sequelize = new Sequelize(process.env[config.use_env_variable]); + var sequelize = new Sequelize(process.env[config.use_env_variable], config); } else { var sequelize = new Sequelize(config.database, config.username, config.password, config); }