summary refs log tree commit diff
path: root/util/src/entities/TeamMember.ts
diff options
context:
space:
mode:
Diffstat (limited to 'util/src/entities/TeamMember.ts')
-rw-r--r--util/src/entities/TeamMember.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/util/src/entities/TeamMember.ts b/util/src/entities/TeamMember.ts
index bdfdccf0..5642a211 100644
--- a/util/src/entities/TeamMember.ts
+++ b/util/src/entities/TeamMember.ts
@@ -9,8 +9,8 @@ export enum TeamMemberState {
 
 @Entity("team_members")
 export class TeamMember extends BaseClass {
-	@Column({ type: "simple-enum", enum: TeamMemberState })
-	membership_state: TeamMemberState;
+	@Column()
+	membership_state: number;
 
 	@Column({ type: "simple-array" })
 	permissions: string[];