coache_history.js
700 字节
/* jshint indent: 2 */
module.exports = function (sequelize, DataTypes) {
return sequelize.define('coache_history', {
id: {
type: DataTypes.INTEGER(11),
allowNull: false,
primaryKey: true
},
history: {
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_history'
});
};
//# sourceMappingURL=coache_history.js.map