diff options
Diffstat (limited to 'server/initializers/database.ts')
-rw-r--r-- | server/initializers/database.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/server/initializers/database.ts b/server/initializers/database.ts index 0775f1fad..8ce32f6fa 100644 --- a/server/initializers/database.ts +++ b/server/initializers/database.ts | |||
@@ -1,6 +1,7 @@ | |||
1 | import { QueryTypes, Transaction } from 'sequelize' | 1 | import { QueryTypes, Transaction } from 'sequelize' |
2 | import { Sequelize as SequelizeTypescript } from 'sequelize-typescript' | 2 | import { Sequelize as SequelizeTypescript } from 'sequelize-typescript' |
3 | import { AbuseModel } from '@server/models/abuse/abuse' | 3 | import { AbuseModel } from '@server/models/abuse/abuse' |
4 | import { AbuseMessageModel } from '@server/models/abuse/abuse-message' | ||
4 | import { VideoAbuseModel } from '@server/models/abuse/video-abuse' | 5 | import { VideoAbuseModel } from '@server/models/abuse/video-abuse' |
5 | import { VideoCommentAbuseModel } from '@server/models/abuse/video-comment-abuse' | 6 | import { VideoCommentAbuseModel } from '@server/models/abuse/video-comment-abuse' |
6 | import { isTestInstance } from '../helpers/core-utils' | 7 | import { isTestInstance } from '../helpers/core-utils' |
@@ -87,6 +88,7 @@ async function initDatabaseModels (silent: boolean) { | |||
87 | TagModel, | 88 | TagModel, |
88 | AccountVideoRateModel, | 89 | AccountVideoRateModel, |
89 | UserModel, | 90 | UserModel, |
91 | AbuseMessageModel, | ||
90 | AbuseModel, | 92 | AbuseModel, |
91 | VideoCommentAbuseModel, | 93 | VideoCommentAbuseModel, |
92 | VideoAbuseModel, | 94 | VideoAbuseModel, |