aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/initializers/database.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/initializers/database.ts')
-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,