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 872a56220..8f237eb23 100644 --- a/server/initializers/database.ts +++ b/server/initializers/database.ts | |||
@@ -36,6 +36,7 @@ import { UserNotificationSettingModel } from '../models/account/user-notificatio | |||
36 | import { VideoStreamingPlaylistModel } from '../models/video/video-streaming-playlist' | 36 | import { VideoStreamingPlaylistModel } from '../models/video/video-streaming-playlist' |
37 | import { VideoPlaylistModel } from '../models/video/video-playlist' | 37 | import { VideoPlaylistModel } from '../models/video/video-playlist' |
38 | import { VideoPlaylistElementModel } from '../models/video/video-playlist-element' | 38 | import { VideoPlaylistElementModel } from '../models/video/video-playlist-element' |
39 | import { ThumbnailModel } from '../models/video/thumbnail' | ||
39 | 40 | ||
40 | require('pg').defaults.parseInt8 = true // Avoid BIGINT to be converted to string | 41 | require('pg').defaults.parseInt8 = true // Avoid BIGINT to be converted to string |
41 | 42 | ||
@@ -105,7 +106,8 @@ async function initDatabaseModels (silent: boolean) { | |||
105 | UserNotificationSettingModel, | 106 | UserNotificationSettingModel, |
106 | VideoStreamingPlaylistModel, | 107 | VideoStreamingPlaylistModel, |
107 | VideoPlaylistModel, | 108 | VideoPlaylistModel, |
108 | VideoPlaylistElementModel | 109 | VideoPlaylistElementModel, |
110 | ThumbnailModel | ||
109 | ]) | 111 | ]) |
110 | 112 | ||
111 | // Check extensions exist in the database | 113 | // Check extensions exist in the database |