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.ts8
1 files changed, 4 insertions, 4 deletions
diff --git a/server/initializers/database.ts b/server/initializers/database.ts
index 85d205cdc..0b3f695f7 100644
--- a/server/initializers/database.ts
+++ b/server/initializers/database.ts
@@ -3,9 +3,10 @@ import { isTestInstance } from '../helpers/core-utils'
3import { logger } from '../helpers/logger' 3import { logger } from '../helpers/logger'
4 4
5import { AccountModel } from '../models/account/account' 5import { AccountModel } from '../models/account/account'
6import { AccountFollowModel } from '../models/account/account-follow'
7import { AccountVideoRateModel } from '../models/account/account-video-rate' 6import { AccountVideoRateModel } from '../models/account/account-video-rate'
8import { UserModel } from '../models/account/user' 7import { UserModel } from '../models/account/user'
8import { ActorModel } from '../models/activitypub/actor'
9import { ActorFollowModel } from '../models/activitypub/actor-follow'
9import { ApplicationModel } from '../models/application/application' 10import { ApplicationModel } from '../models/application/application'
10import { AvatarModel } from '../models/avatar/avatar' 11import { AvatarModel } from '../models/avatar/avatar'
11import { JobModel } from '../models/job/job' 12import { JobModel } from '../models/job/job'
@@ -17,7 +18,6 @@ import { VideoModel } from '../models/video/video'
17import { VideoAbuseModel } from '../models/video/video-abuse' 18import { VideoAbuseModel } from '../models/video/video-abuse'
18import { VideoBlacklistModel } from '../models/video/video-blacklist' 19import { VideoBlacklistModel } from '../models/video/video-blacklist'
19import { VideoChannelModel } from '../models/video/video-channel' 20import { VideoChannelModel } from '../models/video/video-channel'
20import { VideoChannelShareModel } from '../models/video/video-channel-share'
21import { VideoFileModel } from '../models/video/video-file' 21import { VideoFileModel } from '../models/video/video-file'
22import { VideoShareModel } from '../models/video/video-share' 22import { VideoShareModel } from '../models/video/video-share'
23import { VideoTagModel } from '../models/video/video-tag' 23import { VideoTagModel } from '../models/video/video-tag'
@@ -56,6 +56,8 @@ const sequelizeTypescript = new SequelizeTypescript({
56async function initDatabaseModels (silent: boolean) { 56async function initDatabaseModels (silent: boolean) {
57 sequelizeTypescript.addModels([ 57 sequelizeTypescript.addModels([
58 ApplicationModel, 58 ApplicationModel,
59 ActorModel,
60 ActorFollowModel,
59 AvatarModel, 61 AvatarModel,
60 AccountModel, 62 AccountModel,
61 JobModel, 63 JobModel,
@@ -64,11 +66,9 @@ async function initDatabaseModels (silent: boolean) {
64 ServerModel, 66 ServerModel,
65 TagModel, 67 TagModel,
66 AccountVideoRateModel, 68 AccountVideoRateModel,
67 AccountFollowModel,
68 UserModel, 69 UserModel,
69 VideoAbuseModel, 70 VideoAbuseModel,
70 VideoChannelModel, 71 VideoChannelModel,
71 VideoChannelShareModel,
72 VideoShareModel, 72 VideoShareModel,
73 VideoFileModel, 73 VideoFileModel,
74 VideoBlacklistModel, 74 VideoBlacklistModel,