aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShadowghost <Ghost_of_Stone@web.de>2026-02-15 10:32:53 +0100
committerShadowghost <Ghost_of_Stone@web.de>2026-02-15 10:32:53 +0100
commit9730aaac578c3ce52bb150e1482f419471f073f9 (patch)
treef93bd41799b52164fde14426cdb66ac1981b3695
parent340bcafd3dba2c0761d62e8e7b7f16a2c9f69a05 (diff)
Fix ordering of cleanup in migration
-rw-r--r--Jellyfin.Server/Migrations/Routines/MigrateLinkedChildren.cs2
1 files changed, 1 insertions, 1 deletions
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)