Browse Source

Fix #84

pull/6/head
Menci 6 years ago
parent
commit
12a50b55b0
  1. 2
      app.js
  2. 2
      package.json

2
app.js

@ -114,7 +114,7 @@ global.syzoj = {
this.db = new Sequelize(this.config.db.database, this.config.db.username, this.config.db.password, { this.db = new Sequelize(this.config.db.database, this.config.db.username, this.config.db.password, {
host: this.config.db.host, host: this.config.db.host,
dialect: 'mysql', dialect: 'mariadb',
logging: syzoj.production ? false : syzoj.log, logging: syzoj.production ? false : syzoj.log,
timezone: require('moment')().format('Z'), timezone: require('moment')().format('Z'),
operatorsAliases: operatorsAliases operatorsAliases: operatorsAliases

2
package.json

@ -49,7 +49,7 @@
"moment": "^2.23.0", "moment": "^2.23.0",
"msgpack-lite": "^0.1.26", "msgpack-lite": "^0.1.26",
"multer": "^1.2.0", "multer": "^1.2.0",
"mysql2": "^1.6.4", "mariadb": "^2.0.2-rc",
"node-7z": "^0.4.0", "node-7z": "^0.4.0",
"nodemailer": "^4.7.0", "nodemailer": "^4.7.0",
"object-assign-deep": "^0.4.0", "object-assign-deep": "^0.4.0",

Loading…
Cancel
Save