aboutsummaryrefslogtreecommitdiff
path: root/bot/src/models/guild-settings.js
blob: 81cfbc2fda62620832cbde3aa9e69c72087f9361 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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
    // }

});