1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-04 02:09:37 +02:00

Basic video redundancy implementation

This commit is contained in:
Chocobozzz 2018-09-11 16:27:07 +02:00
parent a651038487
commit c48e82b5e0
77 changed files with 1667 additions and 287 deletions

View file

@ -27,6 +27,7 @@ import { VideoCaptionModel } from '../models/video/video-caption'
import { VideoImportModel } from '../models/video/video-import'
import { VideoViewModel } from '../models/video/video-views'
import { VideoChangeOwnershipModel } from '../models/video/video-change-ownership'
import { VideoRedundancyModel } from '../models/redundancy/video-redundancy'
require('pg').defaults.parseInt8 = true // Avoid BIGINT to be converted to string
@ -87,7 +88,8 @@ async function initDatabaseModels (silent: boolean) {
VideoCommentModel,
ScheduleVideoUpdateModel,
VideoImportModel,
VideoViewModel
VideoViewModel,
VideoRedundancyModel
])
// Check extensions exist in the database