diff options
author | Chocobozzz <me@florianbigard.com> | 2018-07-12 19:02:00 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-07-16 11:50:08 +0200 |
commit | 40e87e9ecc54e3513fb586928330a7855eb192c6 (patch) | |
tree | af1111ecba85f9cd8286811ff332a67cf21be2f6 /server/initializers/database.ts | |
parent | d4557fd3ecc8d4ed4fb0e5c868929bc36c959ed2 (diff) | |
download | PeerTube-40e87e9ecc54e3513fb586928330a7855eb192c6.tar.gz PeerTube-40e87e9ecc54e3513fb586928330a7855eb192c6.tar.zst PeerTube-40e87e9ecc54e3513fb586928330a7855eb192c6.zip |
Implement captions/subtitles
Diffstat (limited to 'server/initializers/database.ts')
-rw-r--r-- | server/initializers/database.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/server/initializers/database.ts b/server/initializers/database.ts index 4d90c90fc..434d7ef19 100644 --- a/server/initializers/database.ts +++ b/server/initializers/database.ts | |||
@@ -23,6 +23,7 @@ import { VideoShareModel } from '../models/video/video-share' | |||
23 | import { VideoTagModel } from '../models/video/video-tag' | 23 | import { VideoTagModel } from '../models/video/video-tag' |
24 | import { CONFIG } from './constants' | 24 | import { CONFIG } from './constants' |
25 | import { ScheduleVideoUpdateModel } from '../models/video/schedule-video-update' | 25 | import { ScheduleVideoUpdateModel } from '../models/video/schedule-video-update' |
26 | import { VideoCaptionModel } from '../models/video/video-caption' | ||
26 | 27 | ||
27 | require('pg').defaults.parseInt8 = true // Avoid BIGINT to be converted to string | 28 | require('pg').defaults.parseInt8 = true // Avoid BIGINT to be converted to string |
28 | 29 | ||
@@ -71,6 +72,7 @@ async function initDatabaseModels (silent: boolean) { | |||
71 | VideoChannelModel, | 72 | VideoChannelModel, |
72 | VideoShareModel, | 73 | VideoShareModel, |
73 | VideoFileModel, | 74 | VideoFileModel, |
75 | VideoCaptionModel, | ||
74 | VideoBlacklistModel, | 76 | VideoBlacklistModel, |
75 | VideoTagModel, | 77 | VideoTagModel, |
76 | VideoModel, | 78 | VideoModel, |