diff options
Diffstat (limited to 'server/initializers/database.ts')
-rw-r--r-- | server/initializers/database.ts | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/server/initializers/database.ts b/server/initializers/database.ts index 14dd8c379..bc120e398 100644 --- a/server/initializers/database.ts +++ b/server/initializers/database.ts | |||
@@ -10,6 +10,7 @@ import { UserModel } from '@server/models/user/user' | |||
10 | import { UserNotificationModel } from '@server/models/user/user-notification' | 10 | import { UserNotificationModel } from '@server/models/user/user-notification' |
11 | import { UserRegistrationModel } from '@server/models/user/user-registration' | 11 | import { UserRegistrationModel } from '@server/models/user/user-registration' |
12 | import { UserVideoHistoryModel } from '@server/models/user/user-video-history' | 12 | import { UserVideoHistoryModel } from '@server/models/user/user-video-history' |
13 | import { StoryboardModel } from '@server/models/video/storyboard' | ||
13 | import { VideoChannelSyncModel } from '@server/models/video/video-channel-sync' | 14 | import { VideoChannelSyncModel } from '@server/models/video/video-channel-sync' |
14 | import { VideoJobInfoModel } from '@server/models/video/video-job-info' | 15 | import { VideoJobInfoModel } from '@server/models/video/video-job-info' |
15 | import { VideoLiveReplaySettingModel } from '@server/models/video/video-live-replay-setting' | 16 | import { VideoLiveReplaySettingModel } from '@server/models/video/video-live-replay-setting' |
@@ -56,6 +57,7 @@ import { VideoStreamingPlaylistModel } from '../models/video/video-streaming-pla | |||
56 | import { VideoTagModel } from '../models/video/video-tag' | 57 | import { VideoTagModel } from '../models/video/video-tag' |
57 | import { VideoViewModel } from '../models/view/video-view' | 58 | import { VideoViewModel } from '../models/view/video-view' |
58 | import { CONFIG } from './config' | 59 | import { CONFIG } from './config' |
60 | import { VideoPasswordModel } from '@server/models/video/video-password' | ||
59 | 61 | ||
60 | require('pg').defaults.parseInt8 = true // Avoid BIGINT to be converted to string | 62 | require('pg').defaults.parseInt8 = true // Avoid BIGINT to be converted to string |
61 | 63 | ||
@@ -163,9 +165,11 @@ async function initDatabaseModels (silent: boolean) { | |||
163 | VideoJobInfoModel, | 165 | VideoJobInfoModel, |
164 | VideoChannelSyncModel, | 166 | VideoChannelSyncModel, |
165 | UserRegistrationModel, | 167 | UserRegistrationModel, |
168 | VideoPasswordModel, | ||
166 | RunnerRegistrationTokenModel, | 169 | RunnerRegistrationTokenModel, |
167 | RunnerModel, | 170 | RunnerModel, |
168 | RunnerJobModel | 171 | RunnerJobModel, |
172 | StoryboardModel | ||
169 | ]) | 173 | ]) |
170 | 174 | ||
171 | // Check extensions exist in the database | 175 | // Check extensions exist in the database |