mirror of
https://github.com/Kareadita/Kavita.git
synced 2025-12-02 19:25:10 -05:00
Co-authored-by: Fesaa <77553571+Fesaa@users.noreply.github.com> Co-authored-by: GitHub Action <action@github.com>
30 lines
848 B
C#
30 lines
848 B
C#
using Microsoft.EntityFrameworkCore.Migrations;
|
|
|
|
#nullable disable
|
|
|
|
namespace API.Data.Migrations
|
|
{
|
|
/// <inheritdoc />
|
|
public partial class OpdsSettings : Migration
|
|
{
|
|
/// <inheritdoc />
|
|
protected override void Up(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.AddColumn<string>(
|
|
name: "OpdsPreferences",
|
|
table: "AppUserPreferences",
|
|
type: "TEXT",
|
|
nullable: true,
|
|
defaultValue: "{\"EmbedProgressIndicator\":true,\"IncludeContinueFrom\":true}");
|
|
}
|
|
|
|
/// <inheritdoc />
|
|
protected override void Down(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.DropColumn(
|
|
name: "OpdsPreferences",
|
|
table: "AppUserPreferences");
|
|
}
|
|
}
|
|
}
|