Fixed migration runner and added docs for adding migrations

This commit is contained in:
JPVenson
2025-01-27 17:20:14 +00:00
parent 9d1c4ea169
commit 844646e2fe
8 changed files with 59 additions and 12 deletions

View File

@@ -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