diff options
author | Flam3rboy <34555296+Flam3rboy@users.noreply.github.com> | 2021-08-29 00:03:58 +0200 |
---|---|---|
committer | Flam3rboy <34555296+Flam3rboy@users.noreply.github.com> | 2021-08-29 00:03:58 +0200 |
commit | 227a4e47f1ec9bca9b039c7c6761a335bcf622c2 (patch) | |
tree | 356056aa999e2b7b2d8b2e5094c98e63fa1bd2d2 /util/src/entities/Channel.ts | |
parent | :sparkles: typeorm api rewrite done (diff) | |
download | server-227a4e47f1ec9bca9b039c7c6761a335bcf622c2.tar.xz |
:sparkles: update util
Diffstat (limited to 'util/src/entities/Channel.ts')
-rw-r--r-- | util/src/entities/Channel.ts | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/util/src/entities/Channel.ts b/util/src/entities/Channel.ts index d26f1054..d02cedb4 100644 --- a/util/src/entities/Channel.ts +++ b/util/src/entities/Channel.ts @@ -60,25 +60,25 @@ export class Channel extends BaseClass { @ManyToOne(() => User, (user: User) => user.id) owner: User; - @Column() + @Column({ nullable: true }) last_pin_timestamp?: number; - @Column() + @Column({ nullable: true }) default_auto_archive_duration?: number; @Column() position: number; - @Column("simple-json") + @Column({ type: "simple-json" }) permission_overwrites: ChannelPermissionOverwrite[]; - @Column() + @Column({ nullable: true }) video_quality_mode?: number; - @Column() + @Column({ nullable: true }) bitrate?: number; - @Column() + @Column({ nullable: true }) user_limit?: number; @Column() @@ -87,7 +87,7 @@ export class Channel extends BaseClass { @Column() rate_limit_per_user: number; - @Column() + @Column({ nullable: true }) topic?: string; } |