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