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