浏览代码

Fixed order of column selects

JPVenson 7 月之前
父节点
当前提交
b0b14e6edd
共有 1 个文件被更改,包括 2 次插入2 次删除
  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;