diff options
Diffstat (limited to 'bot/src/models/guild-settings.js')
| -rw-r--r-- | bot/src/models/guild-settings.js | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/bot/src/models/guild-settings.js b/bot/src/models/guild-settings.js new file mode 100644 index 0000000..81cfbc2 --- /dev/null +++ b/bot/src/models/guild-settings.js @@ -0,0 +1,27 @@ +import { INTEGER, STRING } from 'sequelize'; +import { sequelize } from '../utils/sequelize.js'; + +export const guildSettings = sequelize.define('guild-settings', { + id: { + type: INTEGER, + primaryKey: true, + autoIncrement: true, + }, + guildID: { + type: STRING, + allowNull: false + }, + logChannelID: { + type: STRING, + allowNull: true + } + // qotdChannelID: { + // type: Sequelize.STRING, + // allowNull: true + // }, + // qotdToggle: { + // type: Sequelize.BOOLEAN, + // allowNull: true + // } + +}); |
