summary refs log tree commit diff
path: root/util/src/entities/AuditLog.ts
diff options
context:
space:
mode:
Diffstat (limited to 'util/src/entities/AuditLog.ts')
-rw-r--r--util/src/entities/AuditLog.ts5
1 files changed, 1 insertions, 4 deletions
diff --git a/util/src/entities/AuditLog.ts b/util/src/entities/AuditLog.ts
index ae9feb76..4b81ed6a 100644
--- a/util/src/entities/AuditLog.ts
+++ b/util/src/entities/AuditLog.ts
@@ -55,10 +55,7 @@ export class AuditLog extends BaseClass {
 	@ManyToOne(() => User, (user: User) => user.id)
 	user: User;
 
-	@Column({
-		type: "simple-enum",
-		enum: AuditLogEvents,
-	})
+	@Column({ type: "int" })
 	action_type: AuditLogEvents;
 
 	@Column({ type: "simple-json", nullable: true })