Panel creation

This commit is contained in:
Isaac
2021-05-11 23:12:06 +01:00
parent da7188d923
commit 8903f10305
7 changed files with 173 additions and 18 deletions

View File

@@ -6,6 +6,10 @@ module.exports = (client, sequelize) => {
type: DataTypes.JSON,
allowNull: false
},
channel: {
type: DataTypes.CHAR(19),
allowNull: false
},
guild: {
type: DataTypes.CHAR(19),
allowNull: false,
@@ -17,10 +21,6 @@ module.exports = (client, sequelize) => {
message: {
type: DataTypes.CHAR(19),
allowNull: false
},
reactionless: {
type: DataTypes.BOOLEAN,
defaultValue: false
}
}, {
tableName: DB_TABLE_PREFIX + 'panels'