From 9730aaac578c3ce52bb150e1482f419471f073f9 Mon Sep 17 00:00:00 2001 From: Shadowghost Date: Sun, 15 Feb 2026 10:32:53 +0100 Subject: [PATCH] Fix ordering of cleanup in migration --- Jellyfin.Server/Migrations/Routines/MigrateLinkedChildren.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jellyfin.Server/Migrations/Routines/MigrateLinkedChildren.cs b/Jellyfin.Server/Migrations/Routines/MigrateLinkedChildren.cs index 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)