coache_honors.ts
561 字节
/* jshint indent: 2 */
module.exports = function(sequelize:any, DataTypes:any) {
return sequelize.define('coache_honors', {
id: {
type: DataTypes.INTEGER(11),
allowNull: false,
primaryKey: true
},
honors: {
type: DataTypes.JSON,
allowNull: true
},
updated_at: {
type: DataTypes.INTEGER(11),
allowNull: true
},
created_at: {
type: DataTypes.DATE,
allowNull: false,
defaultValue: sequelize.literal('CURRENT_TIMESTAMP')
}
}, {
tableName: 'coache_honors'
});
};