aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/initializers
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2017-11-15 17:56:21 +0100
committerChocobozzz <florian.bigard@gmail.com>2017-11-27 19:40:52 +0100
commitd846501818c2d29e66e6fd141789cb04fd55a437 (patch)
tree9b807a84459edd400fd36325c49c4adfbd6c4fd2 /server/initializers
parent8e10cf1a5a438a00e5f7e0691cb830769867cffc (diff)
downloadPeerTube-d846501818c2d29e66e6fd141789cb04fd55a437.tar.gz
PeerTube-d846501818c2d29e66e6fd141789cb04fd55a437.tar.zst
PeerTube-d846501818c2d29e66e6fd141789cb04fd55a437.zip
Handle announces in inbox
Diffstat (limited to 'server/initializers')
-rw-r--r--server/initializers/database.ts4
1 files changed, 4 insertions, 0 deletions
diff --git a/server/initializers/database.ts b/server/initializers/database.ts
index 0a716e4fb..5c757694e 100644
--- a/server/initializers/database.ts
+++ b/server/initializers/database.ts
@@ -24,6 +24,8 @@ import { OAuthClientModel } from './../models/oauth/oauth-client-interface'
24import { JobModel } from './../models/job/job-interface' 24import { JobModel } from './../models/job/job-interface'
25import { AccountModel } from './../models/account/account-interface' 25import { AccountModel } from './../models/account/account-interface'
26import { ApplicationModel } from './../models/application/application-interface' 26import { ApplicationModel } from './../models/application/application-interface'
27import { VideoChannelShareModel } from '../models/video/video-channel-share-interface'
28import { VideoShareModel } from '../models/video/video-share-interface'
27 29
28const dbname = CONFIG.DATABASE.DBNAME 30const dbname = CONFIG.DATABASE.DBNAME
29const username = CONFIG.DATABASE.USERNAME 31const username = CONFIG.DATABASE.USERNAME
@@ -45,6 +47,8 @@ const database: {
45 User?: UserModel, 47 User?: UserModel,
46 VideoAbuse?: VideoAbuseModel, 48 VideoAbuse?: VideoAbuseModel,
47 VideoChannel?: VideoChannelModel, 49 VideoChannel?: VideoChannelModel,
50 VideoChannelShare?: VideoChannelShareModel,
51 VideoShare?: VideoShareModel,
48 VideoFile?: VideoFileModel, 52 VideoFile?: VideoFileModel,
49 BlacklistedVideo?: BlacklistedVideoModel, 53 BlacklistedVideo?: BlacklistedVideoModel,
50 VideoTag?: VideoTagModel, 54 VideoTag?: VideoTagModel,