diff options
Diffstat (limited to 'server/models/video/video-live.ts')
-rw-r--r-- | server/models/video/video-live.ts | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/server/models/video/video-live.ts b/server/models/video/video-live.ts index f3bff74ea..875ba9b31 100644 --- a/server/models/video/video-live.ts +++ b/server/models/video/video-live.ts | |||
@@ -38,6 +38,10 @@ export class VideoLiveModel extends Model<VideoLiveModel> { | |||
38 | @Column | 38 | @Column |
39 | saveReplay: boolean | 39 | saveReplay: boolean |
40 | 40 | ||
41 | @AllowNull(false) | ||
42 | @Column | ||
43 | permanentLive: boolean | ||
44 | |||
41 | @CreatedAt | 45 | @CreatedAt |
42 | createdAt: Date | 46 | createdAt: Date |
43 | 47 | ||
@@ -99,6 +103,7 @@ export class VideoLiveModel extends Model<VideoLiveModel> { | |||
99 | : null, | 103 | : null, |
100 | 104 | ||
101 | streamKey: this.streamKey, | 105 | streamKey: this.streamKey, |
106 | permanentLive: this.permanentLive, | ||
102 | saveReplay: this.saveReplay | 107 | saveReplay: this.saveReplay |
103 | } | 108 | } |
104 | } | 109 | } |