Add ability for uploaders to schedule video update
This commit is contained in:
parent
bf079b7bfd
commit
2baea0c77c
21 changed files with 469 additions and 22 deletions
|
@ -22,6 +22,7 @@ import { VideoFileModel } from '../models/video/video-file'
|
|||
import { VideoShareModel } from '../models/video/video-share'
|
||||
import { VideoTagModel } from '../models/video/video-tag'
|
||||
import { CONFIG } from './constants'
|
||||
import { ScheduleVideoUpdateModel } from '../models/video/schedule-video-update'
|
||||
|
||||
require('pg').defaults.parseInt8 = true // Avoid BIGINT to be converted to string
|
||||
|
||||
|
@ -73,7 +74,8 @@ async function initDatabaseModels (silent: boolean) {
|
|||
VideoBlacklistModel,
|
||||
VideoTagModel,
|
||||
VideoModel,
|
||||
VideoCommentModel
|
||||
VideoCommentModel,
|
||||
ScheduleVideoUpdateModel
|
||||
])
|
||||
|
||||
if (!silent) logger.info('Database %s is ready.', dbname)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue