diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2017-10-24 19:41:09 +0200 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2017-10-26 09:11:38 +0200 |
commit | 72c7248b6fdcdb2175e726ff51b42e7555f2bd84 (patch) | |
tree | 1bfdee99dbe2392cc997edba8e314e2a8a401c72 /server/initializers/database.ts | |
parent | 8113a93a0d9f31aa9e23702bbc31b8a76275ae22 (diff) | |
download | PeerTube-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.ts | 2 |
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' | |||
14 | import { BlacklistedVideoModel } from './../models/video/video-blacklist-interface' | 14 | import { BlacklistedVideoModel } from './../models/video/video-blacklist-interface' |
15 | import { VideoFileModel } from './../models/video/video-file-interface' | 15 | import { VideoFileModel } from './../models/video/video-file-interface' |
16 | import { VideoAbuseModel } from './../models/video/video-abuse-interface' | 16 | import { VideoAbuseModel } from './../models/video/video-abuse-interface' |
17 | import { VideoChannelModel } from './../models/video/video-channel-interface' | ||
17 | import { UserModel } from './../models/user/user-interface' | 18 | import { UserModel } from './../models/user/user-interface' |
18 | import { UserVideoRateModel } from './../models/user/user-video-rate-interface' | 19 | import { UserVideoRateModel } from './../models/user/user-video-rate-interface' |
19 | import { TagModel } from './../models/video/tag-interface' | 20 | import { 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, |