Commit 0a87b4e9 authored by 郝聪敏's avatar 郝聪敏

test: 测试数据库

parent aed41a6a
......@@ -56,7 +56,7 @@ export default (appInfo: EggAppConfig) => {
console.log('process.env.NODE_ENV', process.env.NODE_ENV);
exports.sequelize = process.env.NODE_ENV === 'test' ? localMysqlConfig : prodMysqlConfig;
config.sequelize = process.env.NODE_ENV !== 'production' ? localMysqlConfig : prodMysqlConfig;
return config;
};
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment