using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace API.Data.Migrations
{
    /// 
    public partial class PdfSettings : Migration
    {
        /// 
        protected override void Up(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.AddColumn(
                name: "PdfLayoutMode",
                table: "AppUserPreferences",
                type: "INTEGER",
                nullable: false,
                defaultValue: 0);
            migrationBuilder.AddColumn(
                name: "PdfScrollMode",
                table: "AppUserPreferences",
                type: "INTEGER",
                nullable: false,
                defaultValue: 0);
            migrationBuilder.AddColumn(
                name: "PdfSpreadMode",
                table: "AppUserPreferences",
                type: "INTEGER",
                nullable: false,
                defaultValue: 0);
            migrationBuilder.AddColumn(
                name: "PdfTheme",
                table: "AppUserPreferences",
                type: "INTEGER",
                nullable: false,
                defaultValue: 0);
        }
        /// 
        protected override void Down(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.DropColumn(
                name: "PdfLayoutMode",
                table: "AppUserPreferences");
            migrationBuilder.DropColumn(
                name: "PdfScrollMode",
                table: "AppUserPreferences");
            migrationBuilder.DropColumn(
                name: "PdfSpreadMode",
                table: "AppUserPreferences");
            migrationBuilder.DropColumn(
                name: "PdfTheme",
                table: "AppUserPreferences");
        }
    }
}