blob: 0b6e3e15fea21ae107f65b4c819924c2423e80a9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace Jellyfin.Server.Implementations.Migrations
{
/// <inheritdoc />
public partial class ResetJournalMode : Migration
{
/// <inheritdoc />
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';");
}
/// <inheritdoc />
protected override void Down(MigrationBuilder migrationBuilder)
{
}
}
}
|