Fix ordering of cleanup in migration

This commit is contained in:
Shadowghost
2026-02-15 10:32:53 +01:00
parent 340bcafd3d
commit 9730aaac57

View File

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