The Free Software Media System - Server Backend & API
Fix ordering of cleanup in migration
Shadowghost9730aaac578c
diff --git a/Jellyfin.Server/Migrations/Routines/MigrateLinkedChildren.cs b/Jellyfin.Server/Migrations/Routines/MigrateLinkedChildren.csindex 3e6c9db713..b00f53bbe7 100644--- a/Jellyfin.Server/Migrations/Routines/MigrateLinkedChildren.cs+++ b/Jellyfin.Server/Migrations/Routines/MigrateLinkedChildren.cs@@ -225,8 +225,8 @@ internal class MigrateLinkedChildren : IDatabaseMigrationRoutine_logger.LogInformation("LinkedChildren migration completed. Processed {Count} items.", processedCount);CleanupWrongTypeAlternateVersions(context);- CleanupOrphanedLinkedChildren(context);CleanupOrphanedAlternateVersionBaseItems(context);+ CleanupOrphanedLinkedChildren(context);}private void CleanupWrongTypeAlternateVersions(JellyfinDbContext context)