X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=server%2Finitializers%2Fdatabase.ts;h=0e690f6ae9fc5721971a00056b9790acb9660323;hb=f7298d0dcc247fe3be94ec1e00351942a079a44b;hp=38e7a76d0b213afbcc849a5858f904bdde4d8e77;hpb=1c5e49e75284100b7b1fc8b4e73c8ba53fe22e89;p=github%2FChocobozzz%2FPeerTube.git 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' import { VideoViewModel } from '../models/video/video-view' import { CONFIG } from './config' import { ActorCustomPageModel } from '@server/models/account/actor-custom-page' +import { VideoJobInfoModel } from '@server/models/video/video-job-info' require('pg').defaults.parseInt8 = true // Avoid BIGINT to be converted to string @@ -143,7 +144,8 @@ async function initDatabaseModels (silent: boolean) { TrackerModel, VideoTrackerModel, PluginModel, - ActorCustomPageModel + ActorCustomPageModel, + VideoJobInfoModel ]) // Check extensions exist in the database