Commit 4972e758 authored by 姜登's avatar 姜登

gjjapi

parent 750dfb00
Pipeline #5850 passed with stage
in 5 seconds
......@@ -78,13 +78,13 @@ module.exports = app => {
this.setDataValue('note', JSON.stringify(val));
},
},
createDate: {
create_at: {
type: DataTypes.DATE,
allowNull: true,
allowNull: false,
defaultValue: app.Sequelize.literal('CURRENT_TIMESTAMP'),
field: 'createDate',
},
updateDate: {
update_at: {
type: DataTypes.DATE,
allowNull: false,
defaultValue: app.Sequelize.literal('CURRENT_TIMESTAMP'),
......@@ -111,7 +111,6 @@ module.exports = app => {
},
{
tableName: 'gjj_status',
timestamps: false,
});
return taskStatsu;
......
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