aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/initializers/database.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/initializers/database.ts')
-rw-r--r--server/initializers/database.ts6
1 files changed, 5 insertions, 1 deletions
diff --git a/server/initializers/database.ts b/server/initializers/database.ts
index fe296142d..541ebbecf 100644
--- a/server/initializers/database.ts
+++ b/server/initializers/database.ts
@@ -34,6 +34,8 @@ import { ServerBlocklistModel } from '../models/server/server-blocklist'
34import { UserNotificationModel } from '../models/account/user-notification' 34import { UserNotificationModel } from '../models/account/user-notification'
35import { UserNotificationSettingModel } from '../models/account/user-notification-setting' 35import { UserNotificationSettingModel } from '../models/account/user-notification-setting'
36import { VideoStreamingPlaylistModel } from '../models/video/video-streaming-playlist' 36import { VideoStreamingPlaylistModel } from '../models/video/video-streaming-playlist'
37import { VideoPlaylistModel } from '../models/video/video-playlist'
38import { VideoPlaylistElementModel } from '../models/video/video-playlist-element'
37 39
38require('pg').defaults.parseInt8 = true // Avoid BIGINT to be converted to string 40require('pg').defaults.parseInt8 = true // Avoid BIGINT to be converted to string
39 41
@@ -101,7 +103,9 @@ async function initDatabaseModels (silent: boolean) {
101 ServerBlocklistModel, 103 ServerBlocklistModel,
102 UserNotificationModel, 104 UserNotificationModel,
103 UserNotificationSettingModel, 105 UserNotificationSettingModel,
104 VideoStreamingPlaylistModel 106 VideoStreamingPlaylistModel,
107 VideoPlaylistModel,
108 VideoPlaylistElementModel
105 ]) 109 ])
106 110
107 // Check extensions exist in the database 111 // Check extensions exist in the database