summary refs log tree commit diff
path: root/util/src/entities/Channel.ts
diff options
context:
space:
mode:
authorThe Arcane Brony <myrainbowdash949@gmail.com>2021-10-10 20:34:45 +0200
committerThe Arcane Brony <myrainbowdash949@gmail.com>2021-10-10 20:34:45 +0200
commita11d693f434eb772836f93e6b5bcaac3cc409ec5 (patch)
tree5e4bd8bb484fe066e8b3ad339dcbbcabb066875f /util/src/entities/Channel.ts
parentforgot to fix primary columns on invites (diff)
downloadserver-a11d693f434eb772836f93e6b5bcaac3cc409ec5.tar.xz
Change enums to numbers
Diffstat (limited to 'util/src/entities/Channel.ts')
-rw-r--r--util/src/entities/Channel.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/util/src/entities/Channel.ts b/util/src/entities/Channel.ts
index 51d8b026..e10bd8ed 100644
--- a/util/src/entities/Channel.ts
+++ b/util/src/entities/Channel.ts
@@ -39,8 +39,8 @@ export class Channel extends BaseClass {
 	@Column({ type: "text", nullable: true })
 	icon?: string | null;
 
-	@Column({ type: "simple-enum", enum: ChannelType })
-	type: ChannelType;
+	@Column()
+	type: number;
 
 	@OneToMany(() => Recipient, (recipient: Recipient) => recipient.channel, {
 		cascade: true,