소스 검색

Supress transaction (#14514)

JPVenson 4 달 전
부모
커밋
57d077d08e
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/Jellyfin.Database/Jellyfin.Database.Providers.Sqlite/Migrations/20250714044826_ResetJournalMode.cs

+ 1 - 1
src/Jellyfin.Database/Jellyfin.Database.Providers.Sqlite/Migrations/20250714044826_ResetJournalMode.cs

@@ -11,7 +11,7 @@ namespace Jellyfin.Server.Implementations.Migrations
         protected override void Up(MigrationBuilder migrationBuilder)
         {
             // Resets journal mode to WAL for users that have created their database during 10.11-RC1 or 2
-            migrationBuilder.Sql("PRAGMA journal_mode = 'WAL';");
+            migrationBuilder.Sql("PRAGMA journal_mode = 'WAL';", true);
         }
 
         /// <inheritdoc />