aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/initializers/database.ts
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2017-10-24 19:41:09 +0200
committerChocobozzz <florian.bigard@gmail.com>2017-10-26 09:11:38 +0200
commit72c7248b6fdcdb2175e726ff51b42e7555f2bd84 (patch)
tree1bfdee99dbe2392cc997edba8e314e2a8a401c72 /server/initializers/database.ts
parent8113a93a0d9f31aa9e23702bbc31b8a76275ae22 (diff)
downloadPeerTube-72c7248b6fdcdb2175e726ff51b42e7555f2bd84.tar.gz
PeerTube-72c7248b6fdcdb2175e726ff51b42e7555f2bd84.tar.zst
PeerTube-72c7248b6fdcdb2175e726ff51b42e7555f2bd84.zip
Add video channels
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 c5a385361..d461cb440 100644
--- a/server/initializers/database.ts
+++ b/server/initializers/database.ts
@@ -14,6 +14,7 @@ import { VideoTagModel } from './../models/video/video-tag-interface'
14import { BlacklistedVideoModel } from './../models/video/video-blacklist-interface' 14import { BlacklistedVideoModel } from './../models/video/video-blacklist-interface'
15import { VideoFileModel } from './../models/video/video-file-interface' 15import { VideoFileModel } from './../models/video/video-file-interface'
16import { VideoAbuseModel } from './../models/video/video-abuse-interface' 16import { VideoAbuseModel } from './../models/video/video-abuse-interface'
17import { VideoChannelModel } from './../models/video/video-channel-interface'
17import { UserModel } from './../models/user/user-interface' 18import { UserModel } from './../models/user/user-interface'
18import { UserVideoRateModel } from './../models/user/user-video-rate-interface' 19import { UserVideoRateModel } from './../models/user/user-video-rate-interface'
19import { TagModel } from './../models/video/tag-interface' 20import { TagModel } from './../models/video/tag-interface'
@@ -50,6 +51,7 @@ const database: {
50 UserVideoRate?: UserVideoRateModel, 51 UserVideoRate?: UserVideoRateModel,
51 User?: UserModel, 52 User?: UserModel,
52 VideoAbuse?: VideoAbuseModel, 53 VideoAbuse?: VideoAbuseModel,
54 VideoChannel?: VideoChannelModel,
53 VideoFile?: VideoFileModel, 55 VideoFile?: VideoFileModel,
54 BlacklistedVideo?: BlacklistedVideoModel, 56 BlacklistedVideo?: BlacklistedVideoModel,
55 VideoTag?: VideoTagModel, 57 VideoTag?: VideoTagModel,