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.ts4
1 files changed, 3 insertions, 1 deletions
diff --git a/server/initializers/database.ts b/server/initializers/database.ts
index b68e1a882..4d57bf8aa 100644
--- a/server/initializers/database.ts
+++ b/server/initializers/database.ts
@@ -27,6 +27,7 @@ import { 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' 29import { VideoChangeOwnershipModel } from '../models/video/video-change-ownership'
30import { VideoRedundancyModel } from '../models/redundancy/video-redundancy'
30 31
31require('pg').defaults.parseInt8 = true // Avoid BIGINT to be converted to string 32require('pg').defaults.parseInt8 = true // Avoid BIGINT to be converted to string
32 33
@@ -87,7 +88,8 @@ async function initDatabaseModels (silent: boolean) {
87 VideoCommentModel, 88 VideoCommentModel,
88 ScheduleVideoUpdateModel, 89 ScheduleVideoUpdateModel,
89 VideoImportModel, 90 VideoImportModel,
90 VideoViewModel 91 VideoViewModel,
92 VideoRedundancyModel
91 ]) 93 ])
92 94
93 // Check extensions exist in the database 95 // Check extensions exist in the database