diff options
author | The Arcane Brony <myrainbowdash949@gmail.com> | 2021-10-10 20:34:45 +0200 |
---|---|---|
committer | The Arcane Brony <myrainbowdash949@gmail.com> | 2021-10-10 20:34:45 +0200 |
commit | a11d693f434eb772836f93e6b5bcaac3cc409ec5 (patch) | |
tree | 5e4bd8bb484fe066e8b3ad339dcbbcabb066875f /util/src/entities/AuditLog.ts | |
parent | forgot to fix primary columns on invites (diff) | |
download | server-a11d693f434eb772836f93e6b5bcaac3cc409ec5.tar.xz |
Change enums to numbers
Diffstat (limited to 'util/src/entities/AuditLog.ts')
-rw-r--r-- | util/src/entities/AuditLog.ts | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/util/src/entities/AuditLog.ts b/util/src/entities/AuditLog.ts index ae9feb76..4b3536b6 100644 --- a/util/src/entities/AuditLog.ts +++ b/util/src/entities/AuditLog.ts @@ -55,11 +55,8 @@ export class AuditLog extends BaseClass { @ManyToOne(() => User, (user: User) => user.id) user: User; - @Column({ - type: "simple-enum", - enum: AuditLogEvents, - }) - action_type: AuditLogEvents; + @Column() + action_type: number; @Column({ type: "simple-json", nullable: true }) options?: { |