using BTCPayServer.Data; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Migrations; #nullable disable namespace BTCPayServer.Migrations { [DbContext(typeof(ApplicationDbContext))] [Migration("20240104155620_AddApprovalToApplicationUser")] public partial class AddApprovalToApplicationUser : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.AddColumn( name: "Approved", table: "AspNetUsers", nullable: false, defaultValue: false); migrationBuilder.AddColumn( name: "RequiresApproval", table: "AspNetUsers", nullable: false, defaultValue: false); } protected override void Down(MigrationBuilder migrationBuilder) { migrationBuilder.DropColumn( name: "Approved", table: "AspNetUsers"); migrationBuilder.DropColumn( name: "RequiresApproval", table: "AspNetUsers"); } } }