Commit d143fa57 authored by 李尚科's avatar 李尚科

Fix

parent 44fea3d0
Pipeline #14006 passed with stage
in 14 seconds
......@@ -95,6 +95,19 @@ module.exports = appInfo => {
password: 'q9t8Ay4qIUW4sw3s25K28',
port: 3306,
},
{
// 东八时区
timezone: '+08:00',
delegate: 'classModel',
baseDir: 'model/class',
// other sequelize configurations
dialect: 'mysql',
host: 'rm-bp1mnwmta5778y0d3jo.mysql.rds.aliyuncs.com',
database: 'class_dev',
username: 'class_testing',
password: 'WV862L32451I6KD58tU9K',
port: 3306,
},
],
};
......
......@@ -91,6 +91,19 @@ module.exports = appInfo => {
password: process.env.MYSQL_PROMETHEUS_PWD,
port: 3306,
},
{
// 东八时区
timezone: '+08:00',
delegate: 'classModel',
baseDir: 'model/class',
// other sequelize configurations
dialect: 'mysql',
host: process.env.MYSQL_CLASS_HOST,
database: process.env.MYSQL_CLASS_DB_NAME,
username: process.env.MYSQL_CLASS_USER,
password: process.env.MYSQL_CLASS_PWD,
port: 3306,
},
],
};
......
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