X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=server%2Finitializers%2Fdatabase.ts;h=0e690f6ae9fc5721971a00056b9790acb9660323;hb=97b6428af78d7b00d9b57e1a317d1355f5e76939;hp=38e7a76d0b213afbcc849a5858f904bdde4d8e77;hpb=cf21b2cbef61929177b9c09b5e017c3b7eb8535d;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