aboutsummaryrefslogtreecommitdiff
path: root/bot/src/db/models/user-settings.js
blob: edaff1675089214ec05209f4e49e47a502b16ea2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import { INTEGER, STRING } from 'sequelize';
import { sequelize } from '../../utils/sequelize.js';

export const userSettings = sequelize.define('user-settings', {
    id: {
        type: INTEGER,
        primaryKey: true,
        autoIncrement: true,
    },
    userID: {
        type: STRING,
        allowNull: false
    },
    language: {
        type: STRING,
        allowNull: true
    }
});