diff options
Diffstat (limited to 'src/lib/models')
-rw-r--r-- | src/lib/models/Ban.ts | 5 | ||||
-rw-r--r-- | src/lib/models/Modlog.ts | 9 |
2 files changed, 2 insertions, 12 deletions
diff --git a/src/lib/models/Ban.ts b/src/lib/models/Ban.ts index 3ce9c06..75e38ab 100644 --- a/src/lib/models/Ban.ts +++ b/src/lib/models/Ban.ts @@ -20,10 +20,7 @@ export interface BanModelCreationAttributes { modlog: string; } -export class Ban - extends BaseModel<BanModel, BanModelCreationAttributes> - implements BanModel -{ +export class Ban extends BaseModel<BanModel, BanModelCreationAttributes> implements BanModel { /** * The ID of this ban (no real use just for a primary key) */ diff --git a/src/lib/models/Modlog.ts b/src/lib/models/Modlog.ts index 7efeeed..52a13b2 100644 --- a/src/lib/models/Modlog.ts +++ b/src/lib/models/Modlog.ts @@ -54,14 +54,7 @@ export class Modlog defaultValue: uuidv4 }, type: { - type: new DataTypes.ENUM( - 'BAN', - 'TEMPBAN', - 'MUTE', - 'TEMPMUTE', - 'KICK', - 'WARN' - ), + type: new DataTypes.ENUM('BAN', 'TEMPBAN', 'MUTE', 'TEMPMUTE', 'KICK', 'WARN'), allowNull: false }, user: { |