mirror of
https://github.com/BluemediaDev/muse.git
synced 2025-05-09 19:51:36 +02:00
Inital commit
This commit is contained in:
parent
afadcb9ee5
commit
eca84c8b69
14 changed files with 2884 additions and 0 deletions
5
src/models/index.ts
Normal file
5
src/models/index.ts
Normal file
|
@ -0,0 +1,5 @@
|
|||
import Settings from './settings';
|
||||
|
||||
export {
|
||||
Settings
|
||||
};
|
18
src/models/settings.ts
Normal file
18
src/models/settings.ts
Normal file
|
@ -0,0 +1,18 @@
|
|||
import {Table, Column, PrimaryKey, Model, Default} from 'sequelize-typescript';
|
||||
|
||||
@Table
|
||||
export default class Settings extends Model<Settings> {
|
||||
@PrimaryKey
|
||||
@Column
|
||||
guildId!: string;
|
||||
|
||||
@Column
|
||||
prefix!: string;
|
||||
|
||||
@Column
|
||||
channel!: string;
|
||||
|
||||
@Default(false)
|
||||
@Column
|
||||
finishedSetup!: boolean;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue