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 78bc8101c..b68e1a882 100644
--- a/server/initializers/database.ts
+++ b/server/initializers/database.ts
@@ -26,6 +26,7 @@ import { ScheduleVideoUpdateModel } from '../models/video/schedule-video-update'
26import { VideoCaptionModel } from '../models/video/video-caption' 26import { VideoCaptionModel } from '../models/video/video-caption'
27import { VideoImportModel } from '../models/video/video-import' 27import { VideoImportModel } from '../models/video/video-import'
28import { VideoViewModel } from '../models/video/video-views' 28import { VideoViewModel } from '../models/video/video-views'
29import { VideoChangeOwnershipModel } from '../models/video/video-change-ownership'
29 30
30require('pg').defaults.parseInt8 = true // Avoid BIGINT to be converted to string 31require('pg').defaults.parseInt8 = true // Avoid BIGINT to be converted to string
31 32
@@ -75,6 +76,7 @@ async function initDatabaseModels (silent: boolean) {
75 AccountVideoRateModel, 76 AccountVideoRateModel,
76 UserModel, 77 UserModel,
77 VideoAbuseModel, 78 VideoAbuseModel,
79 VideoChangeOwnershipModel,
78 VideoChannelModel, 80 VideoChannelModel,
79 VideoShareModel, 81 VideoShareModel,
80 VideoFileModel, 82 VideoFileModel,