Explorar o código

Fixed order of column selects

JPVenson hai 7 meses
pai
achega
b0b14e6edd
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      Jellyfin.Server/Migrations/Routines/MigrateLibraryDb.cs

+ 2 - 2
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;