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 91286241b..f55f40df0 100644 --- a/server/initializers/database.ts +++ b/server/initializers/database.ts | |||
@@ -50,6 +50,7 @@ import { VideoStreamingPlaylistModel } from '../models/video/video-streaming-pla | |||
50 | import { VideoTagModel } from '../models/video/video-tag' | 50 | import { VideoTagModel } from '../models/video/video-tag' |
51 | import { VideoViewModel } from '../models/view/video-view' | 51 | import { VideoViewModel } from '../models/view/video-view' |
52 | import { CONFIG } from './config' | 52 | import { CONFIG } from './config' |
53 | import { VideoChannelSyncModel } from '@server/models/video/video-channel-sync' | ||
53 | 54 | ||
54 | require('pg').defaults.parseInt8 = true // Avoid BIGINT to be converted to string | 55 | require('pg').defaults.parseInt8 = true // Avoid BIGINT to be converted to string |
55 | 56 | ||
@@ -153,7 +154,8 @@ async function initDatabaseModels (silent: boolean) { | |||
153 | VideoTrackerModel, | 154 | VideoTrackerModel, |
154 | PluginModel, | 155 | PluginModel, |
155 | ActorCustomPageModel, | 156 | ActorCustomPageModel, |
156 | VideoJobInfoModel | 157 | VideoJobInfoModel, |
158 | VideoChannelSyncModel | ||
157 | ]) | 159 | ]) |
158 | 160 | ||
159 | // Check extensions exist in the database | 161 | // Check extensions exist in the database |