aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/initializers/database.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/initializers/database.ts')
-rw-r--r--server/initializers/database.ts2
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'
23import { VideoTagModel } from '../models/video/video-tag' 23import { VideoTagModel } from '../models/video/video-tag'
24import { CONFIG } from './constants' 24import { CONFIG } from './constants'
25import { ScheduleVideoUpdateModel } from '../models/video/schedule-video-update' 25import { ScheduleVideoUpdateModel } from '../models/video/schedule-video-update'
26import { VideoCaptionModel } from '../models/video/video-caption'
26 27
27require('pg').defaults.parseInt8 = true // Avoid BIGINT to be converted to string 28require('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,