diff options
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; } |