aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/models/video
diff options
context:
space:
mode:
Diffstat (limited to 'server/models/video')
-rw-r--r--server/models/video/video-live.ts10
1 files changed, 9 insertions, 1 deletions
diff --git a/server/models/video/video-live.ts b/server/models/video/video-live.ts
index 8608bc84c..a1dd80d3c 100644
--- a/server/models/video/video-live.ts
+++ b/server/models/video/video-live.ts
@@ -30,10 +30,18 @@ import { VideoBlacklistModel } from './video-blacklist'
30}) 30})
31export class VideoLiveModel extends Model<VideoLiveModel> { 31export class VideoLiveModel extends Model<VideoLiveModel> {
32 32
33 @AllowNull(false) 33 @AllowNull(true)
34 @Column(DataType.STRING) 34 @Column(DataType.STRING)
35 streamKey: string 35 streamKey: string
36 36
37 @AllowNull(false)
38 @Column
39 perpetualLive: boolean
40
41 @AllowNull(false)
42 @Column
43 saveReplay: boolean
44
37 @CreatedAt 45 @CreatedAt
38 createdAt: Date 46 createdAt: Date
39 47