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 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' | |||
26 | import { VideoCaptionModel } from '../models/video/video-caption' | 26 | 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 | 30 | ||
30 | require('pg').defaults.parseInt8 = true // Avoid BIGINT to be converted to string | 31 | require('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, |