16 lines
310 B
JavaScript
16 lines
310 B
JavaScript
import { DataTypes } from "sequelize";
|
|
|
|
export default function(sequelize) {
|
|
return sequelize.define('Message', {
|
|
id: {
|
|
type: DataTypes.STRING,
|
|
primaryKey: true,
|
|
},
|
|
roleEmojiPair: {
|
|
deferrable: Deferrable.INITIALLY_IMMEDIATE,
|
|
model: 'RoleEmojiPair',
|
|
key: 'id',
|
|
},
|
|
});
|
|
}
|