summary refs log tree commit diff
path: root/util/src/entities/Channel.ts
diff options
context:
space:
mode:
authorHayden Young <hi@hbjy.dev>2021-10-15 09:42:31 +0000
committerGitHub <noreply@github.com>2021-10-15 09:42:31 +0000
commit892459a93879f9820f3672dece66f4ebdfc8701d (patch)
treeea2d14a706eb6e2e455ac23fe43e7343dee3f6be /util/src/entities/Channel.ts
parentfix: don't set location by default (diff)
parent:bug: fix migration + autojoin (diff)
downloadserver-892459a93879f9820f3672dece66f4ebdfc8701d.tar.xz
chore: merge master into cdn-s3
Diffstat (limited to '')
-rw-r--r--util/src/entities/Channel.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/src/entities/Channel.ts b/util/src/entities/Channel.ts

index 51d8b026..bd2e5a58 100644 --- a/util/src/entities/Channel.ts +++ b/util/src/entities/Channel.ts
@@ -39,7 +39,7 @@ export class Channel extends BaseClass { @Column({ type: "text", nullable: true }) icon?: string | null; - @Column({ type: "simple-enum", enum: ChannelType }) + @Column({ type: "int" }) type: ChannelType; @OneToMany(() => Recipient, (recipient: Recipient) => recipient.channel, {