diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2017-11-15 17:56:21 +0100 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2017-11-27 19:40:52 +0100 |
commit | d846501818c2d29e66e6fd141789cb04fd55a437 (patch) | |
tree | 9b807a84459edd400fd36325c49c4adfbd6c4fd2 /server/initializers | |
parent | 8e10cf1a5a438a00e5f7e0691cb830769867cffc (diff) | |
download | PeerTube-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.ts | 4 |
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' | |||
24 | import { JobModel } from './../models/job/job-interface' | 24 | import { JobModel } from './../models/job/job-interface' |
25 | import { AccountModel } from './../models/account/account-interface' | 25 | import { AccountModel } from './../models/account/account-interface' |
26 | import { ApplicationModel } from './../models/application/application-interface' | 26 | import { ApplicationModel } from './../models/application/application-interface' |
27 | import { VideoChannelShareModel } from '../models/video/video-channel-share-interface' | ||
28 | import { VideoShareModel } from '../models/video/video-share-interface' | ||
27 | 29 | ||
28 | const dbname = CONFIG.DATABASE.DBNAME | 30 | const dbname = CONFIG.DATABASE.DBNAME |
29 | const username = CONFIG.DATABASE.USERNAME | 31 | const 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, |