diff options
Diffstat (limited to 'server/initializers/database.ts')
-rw-r--r-- | server/initializers/database.ts | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/server/initializers/database.ts b/server/initializers/database.ts index 0b3f695f7..852db68a0 100644 --- a/server/initializers/database.ts +++ b/server/initializers/database.ts | |||
@@ -18,6 +18,7 @@ import { VideoModel } from '../models/video/video' | |||
18 | import { VideoAbuseModel } from '../models/video/video-abuse' | 18 | import { VideoAbuseModel } from '../models/video/video-abuse' |
19 | import { VideoBlacklistModel } from '../models/video/video-blacklist' | 19 | import { VideoBlacklistModel } from '../models/video/video-blacklist' |
20 | import { VideoChannelModel } from '../models/video/video-channel' | 20 | import { VideoChannelModel } from '../models/video/video-channel' |
21 | import { VideoCommentModel } from '../models/video/video-comment' | ||
21 | import { VideoFileModel } from '../models/video/video-file' | 22 | import { VideoFileModel } from '../models/video/video-file' |
22 | import { VideoShareModel } from '../models/video/video-share' | 23 | import { VideoShareModel } from '../models/video/video-share' |
23 | import { VideoTagModel } from '../models/video/video-tag' | 24 | import { VideoTagModel } from '../models/video/video-tag' |
@@ -73,7 +74,8 @@ async function initDatabaseModels (silent: boolean) { | |||
73 | VideoFileModel, | 74 | VideoFileModel, |
74 | VideoBlacklistModel, | 75 | VideoBlacklistModel, |
75 | VideoTagModel, | 76 | VideoTagModel, |
76 | VideoModel | 77 | VideoModel, |
78 | VideoCommentModel | ||
77 | ]) | 79 | ]) |
78 | 80 | ||
79 | if (!silent) logger.info('Database %s is ready.', dbname) | 81 | if (!silent) logger.info('Database %s is ready.', dbname) |