DiscordJS-Example/models/roleEmojiPair.js

18 lines
323 B
JavaScript

import { DataTypes } from "sequelize";
export default function(sequelize) {
return sequelize.define('RoleEmojiPair', {
id: {
defaultValue: DataTypes.UUIDV4,
type: DataTypes.UUID,
primaryKey: true,
},
role: {
type: DataTypes.STRING,
},
emoji: {
type: DataTypes.STRING,
}
});
}