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 38e7a76d0..0e690f6ae 100644 --- a/server/initializers/database.ts +++ b/server/initializers/database.ts | |||
@@ -45,6 +45,7 @@ import { VideoTagModel } from '../models/video/video-tag' | |||
45 | import { VideoViewModel } from '../models/video/video-view' | 45 | import { VideoViewModel } from '../models/video/video-view' |
46 | import { CONFIG } from './config' | 46 | import { CONFIG } from './config' |
47 | import { ActorCustomPageModel } from '@server/models/account/actor-custom-page' | 47 | import { ActorCustomPageModel } from '@server/models/account/actor-custom-page' |
48 | import { VideoJobInfoModel } from '@server/models/video/video-job-info' | ||
48 | 49 | ||
49 | require('pg').defaults.parseInt8 = true // Avoid BIGINT to be converted to string | 50 | require('pg').defaults.parseInt8 = true // Avoid BIGINT to be converted to string |
50 | 51 | ||
@@ -143,7 +144,8 @@ async function initDatabaseModels (silent: boolean) { | |||
143 | TrackerModel, | 144 | TrackerModel, |
144 | VideoTrackerModel, | 145 | VideoTrackerModel, |
145 | PluginModel, | 146 | PluginModel, |
146 | ActorCustomPageModel | 147 | ActorCustomPageModel, |
148 | VideoJobInfoModel | ||
147 | ]) | 149 | ]) |
148 | 150 | ||
149 | // Check extensions exist in the database | 151 | // Check extensions exist in the database |