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 142063a99..a7988d75b 100644 --- a/server/initializers/database.ts +++ b/server/initializers/database.ts | |||
@@ -37,6 +37,7 @@ import { VideoStreamingPlaylistModel } from '../models/video/video-streaming-pla | |||
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 | import { ThumbnailModel } from '../models/video/thumbnail' |
40 | import { PluginModel } from '../models/server/plugin' | ||
40 | import { QueryTypes, Transaction } from 'sequelize' | 41 | import { QueryTypes, Transaction } from 'sequelize' |
41 | 42 | ||
42 | require('pg').defaults.parseInt8 = true // Avoid BIGINT to be converted to string | 43 | require('pg').defaults.parseInt8 = true // Avoid BIGINT to be converted to string |
@@ -107,7 +108,8 @@ async function initDatabaseModels (silent: boolean) { | |||
107 | VideoStreamingPlaylistModel, | 108 | VideoStreamingPlaylistModel, |
108 | VideoPlaylistModel, | 109 | VideoPlaylistModel, |
109 | VideoPlaylistElementModel, | 110 | VideoPlaylistElementModel, |
110 | ThumbnailModel | 111 | ThumbnailModel, |
112 | PluginModel | ||
111 | ]) | 113 | ]) |
112 | 114 | ||
113 | // Check extensions exist in the database | 115 | // Check extensions exist in the database |