diff options
Diffstat (limited to 'server/initializers/database.ts')
-rw-r--r-- | server/initializers/database.ts | 4 |
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' | |||
27 | import { VideoImportModel } from '../models/video/video-import' | 27 | import { VideoImportModel } from '../models/video/video-import' |
28 | import { VideoViewModel } from '../models/video/video-views' | 28 | import { VideoViewModel } from '../models/video/video-views' |
29 | import { VideoChangeOwnershipModel } from '../models/video/video-change-ownership' | 29 | import { VideoChangeOwnershipModel } from '../models/video/video-change-ownership' |
30 | import { VideoRedundancyModel } from '../models/redundancy/video-redundancy' | ||
30 | 31 | ||
31 | require('pg').defaults.parseInt8 = true // Avoid BIGINT to be converted to string | 32 | require('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 |