aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/initializers
diff options
context:
space:
mode:
Diffstat (limited to 'server/initializers')
-rw-r--r--server/initializers/database.ts4
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
36import { VideoStreamingPlaylistModel } from '../models/video/video-streaming-playlist' 36import { VideoStreamingPlaylistModel } from '../models/video/video-streaming-playlist'
37import { VideoPlaylistModel } from '../models/video/video-playlist' 37import { VideoPlaylistModel } from '../models/video/video-playlist'
38import { VideoPlaylistElementModel } from '../models/video/video-playlist-element' 38import { VideoPlaylistElementModel } from '../models/video/video-playlist-element'
39import { ThumbnailModel } from '../models/video/thumbnail'
39 40
40require('pg').defaults.parseInt8 = true // Avoid BIGINT to be converted to string 41require('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