瀏覽代碼

use guid instead

JPVenson 1 月之前
父節點
當前提交
ef733c5ace
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Jellyfin.Server/Migrations/Routines/ReseedFolderFlag.cs

+ 1 - 1
Jellyfin.Server/Migrations/Routines/ReseedFolderFlag.cs

@@ -59,7 +59,7 @@ internal class ReseedFolderFlag : IAsyncMigrationRoutine
             using var connection = new SqliteConnection($"Filename={libraryDbPath};Mode=ReadOnly");
             var queryResult = connection.Query(
 """
-    SELECT key FROM TypedBaseItems
+    SELECT guid FROM TypedBaseItems
 
     WHERE IsFolder = true
 """);