season_ranks.ts
735 字节
module.exports = function (sequelize:any, DataTypes:any) {
return sequelize.define('season_ranks', {
season_id: {
type: DataTypes.INTEGER(11),
allowNull: false,
primaryKey: true
},
promotions: {
type: DataTypes.JSON,
allowNull: true
},
tables: {
type: DataTypes.JSON,
allowNull: true
},
updated_at: {
type: DataTypes.BIGINT,
allowNull: true
},
created_at: {
type: DataTypes.DATE,
allowNull: true,
defaultValue: sequelize.literal('CURRENT_TIMESTAMP')
}
}, {
tableName: 'season_ranks'
});
};