aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/initializers/database.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-07-12 19:02:00 +0200
committerChocobozzz <me@florianbigard.com>2018-07-16 11:50:08 +0200
commit40e87e9ecc54e3513fb586928330a7855eb192c6 (patch)
treeaf1111ecba85f9cd8286811ff332a67cf21be2f6 /server/initializers/database.ts
parentd4557fd3ecc8d4ed4fb0e5c868929bc36c959ed2 (diff)
downloadPeerTube-40e87e9ecc54e3513fb586928330a7855eb192c6.tar.gz
PeerTube-40e87e9ecc54e3513fb586928330a7855eb192c6.tar.zst
PeerTube-40e87e9ecc54e3513fb586928330a7855eb192c6.zip
Implement captions/subtitles
Diffstat (limited to 'server/initializers/database.ts')
-rw-r--r--server/initializers/database.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/server/initializers/database.ts b/server/initializers/database.ts
index 4d90c90fc..434d7ef19 100644
--- a/server/initializers/database.ts
+++ b/server/initializers/database.ts
@@ -23,6 +23,7 @@ import { VideoShareModel } from '../models/video/video-share'
23import { VideoTagModel } from '../models/video/video-tag' 23import { VideoTagModel } from '../models/video/video-tag'
24import { CONFIG } from './constants' 24import { CONFIG } from './constants'
25import { ScheduleVideoUpdateModel } from '../models/video/schedule-video-update' 25import { ScheduleVideoUpdateModel } from '../models/video/schedule-video-update'
26import { VideoCaptionModel } from '../models/video/video-caption'
26 27
27require('pg').defaults.parseInt8 = true // Avoid BIGINT to be converted to string 28require('pg').defaults.parseInt8 = true // Avoid BIGINT to be converted to string
28 29
@@ -71,6 +72,7 @@ async function initDatabaseModels (silent: boolean) {
71 VideoChannelModel, 72 VideoChannelModel,
72 VideoShareModel, 73 VideoShareModel,
73 VideoFileModel, 74 VideoFileModel,
75 VideoCaptionModel,
74 VideoBlacklistModel, 76 VideoBlacklistModel,
75 VideoTagModel, 77 VideoTagModel,
76 VideoModel, 78 VideoModel,