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 21:30:46 +0200
committerThe Arcane Brony <myrainbowdash949@gmail.com>2021-10-10 21:30:46 +0200
commit496d7d2780c8710221564302419f16fb07a8edd5 (patch)
treecda5d6aad21dedf97dff921a07d4385af2bd6f26 /util/src/entities/Channel.ts
parentChange enums to numbers (diff)
downloadserver-496d7d2780c8710221564302419f16fb07a8edd5.tar.xz
Put local types back
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 e10bd8ed..bd2e5a58 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: number; + @Column({ type: "int" }) + type: ChannelType; @OneToMany(() => Recipient, (recipient: Recipient) => recipient.channel, { cascade: true,