intelligence.js
848 字节
module.exports = function (sequelize, DataTypes) {
return sequelize.define('intelligence', {
id: {
type: DataTypes.INTEGER(11),
allowNull: false,
primaryKey: true
},
good: {
type: DataTypes.JSON,
allowNull: true
},
bad: {
type: DataTypes.JSON,
allowNull: true
},
neutral: {
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: 'intelligence'
});
};
//# sourceMappingURL=intelligence.js.map