The Free Software Media System - Server Backend & API
Preserve null sortOrder during migration
Lampan-gitcf1f251f2a21
diff --git a/Jellyfin.Server/Migrations/Routines/MigrateLibraryDb.cs b/Jellyfin.Server/Migrations/Routines/MigrateLibraryDb.csindex 3289484f93..f826131fc4 100644--- a/Jellyfin.Server/Migrations/Routines/MigrateLibraryDb.cs+++ b/Jellyfin.Server/Migrations/Routines/MigrateLibraryDb.cs@@ -240,9 +240,7 @@ public class MigrateLibraryDb : IMigrationRoutine{}- if (reader.TryGetInt32(4, out var sortOrder))- {- }+ int? sortOrder = reader.IsDBNull(4) ? null : reader.GetInt32(4);personCache.Items.Add(new PeopleBaseItemMap(){