Skip to content

The Free Software Media System - Server Backend & API

Fixed order of column selects

JPVensonb0b14e6eddeb
diff --git a/Jellyfin.Server/Migrations/Routines/MigrateLibraryDb.cs b/Jellyfin.Server/Migrations/Routines/MigrateLibraryDb.cs
index d5ab8bdb67..e0cec95908 100644
--- a/Jellyfin.Server/Migrations/Routines/MigrateLibraryDb.cs
+++ b/Jellyfin.Server/Migrations/Routines/MigrateLibraryDb.cs
@@ -624,8 +624,8 @@ public class MigrateLibraryDb : IMigrationRoutine
{
var entity = new BaseItemEntity()
{
- Type = reader.GetString(0),
- Id = reader.GetGuid(1)
+ Id = reader.GetGuid(0),
+ Type = reader.GetString(1),
};
var index = 2;