mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-17 06:23:03 +03:00
Fixed migration runner and added docs for adding migrations
This commit is contained in:
@@ -157,7 +157,7 @@ namespace Jellyfin.Server
|
||||
// Re-use the host service provider in the app host since ASP.NET doesn't allow a custom service collection.
|
||||
appHost.ServiceProvider = host.Services;
|
||||
|
||||
await appHost.InitializeServices().ConfigureAwait(false);
|
||||
await appHost.InitializeServices(startupConfig).ConfigureAwait(false);
|
||||
Migrations.MigrationRunner.Run(appHost, _loggerFactory);
|
||||
|
||||
try
|
||||
|
||||
Reference in New Issue
Block a user