Commit 25052f72 authored by 姜登's avatar 姜登

gjj

parent 84cae192
Pipeline #3920 passed with stage
in 2 seconds
...@@ -62,13 +62,11 @@ module.exports = app => { ...@@ -62,13 +62,11 @@ module.exports = app => {
date1: { date1: {
type: DataTypes.DATE, type: DataTypes.DATE,
allowNull: true, allowNull: true,
defaultValue: app.Sequelize.literal('CURRENT_TIMESTAMP'),
field: 'date1', field: 'date1',
}, },
date2: { date2: {
type: DataTypes.DATE, type: DataTypes.DATE,
allowNull: true, allowNull: true,
defaultValue: app.Sequelize.literal('CURRENT_TIMESTAMP'),
field: 'date2', field: 'date2',
}, },
}, },
......
...@@ -12,7 +12,7 @@ module.exports = appInfo => { ...@@ -12,7 +12,7 @@ module.exports = appInfo => {
config.middleware = ['requestLog', 'errorHandler']; config.middleware = ['requestLog', 'errorHandler'];
config.logrotator = { config.logrotator = {
maxDays: 1, maxDays: 5,
} }
// config.verifyAppKey = { // config.verifyAppKey = {
......
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