summary refs log tree commit diff
path: root/util/src/entities/AuditLog.ts
diff options
context:
space:
mode:
authorThe Arcane Brony <myrainbowdash949@gmail.com>2021-10-10 21:30:46 +0200
committerThe Arcane Brony <myrainbowdash949@gmail.com>2021-10-10 21:30:46 +0200
commit7d36d3d62c856c23a9f45624d7ed26d8c5ff7dbc (patch)
tree5ca82c4b18cd256cbf6eeb278668a1520a6e2fc8 /util/src/entities/AuditLog.ts
parentChange enums to numbers (diff)
downloadserver-7d36d3d62c856c23a9f45624d7ed26d8c5ff7dbc.tar.xz
Put local types back
Diffstat (limited to 'util/src/entities/AuditLog.ts')
-rw-r--r--util/src/entities/AuditLog.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/util/src/entities/AuditLog.ts b/util/src/entities/AuditLog.ts
index 4b3536b6..4b81ed6a 100644
--- a/util/src/entities/AuditLog.ts
+++ b/util/src/entities/AuditLog.ts
@@ -55,8 +55,8 @@ export class AuditLog extends BaseClass {
 	@ManyToOne(() => User, (user: User) => user.id)
 	user: User;
 
-	@Column()
-	action_type: number;
+	@Column({ type: "int" })
+	action_type: AuditLogEvents;
 
 	@Column({ type: "simple-json", nullable: true })
 	options?: {