diff options
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, |