浏览代码

Supress transaction (#14514)

JPVenson 1 周之前
父节点
当前提交
57d077d08e

+ 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)
         protected override void Up(MigrationBuilder migrationBuilder)
         {
         {
             // Resets journal mode to WAL for users that have created their database during 10.11-RC1 or 2
             // 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 />
         /// <inheritdoc />