diff options
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, |