using BTCPayServer.Data; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Migrations; #nullable disable namespace BTCPayServer.Migrations { [DbContext(typeof(ApplicationDbContext))] [Migration("20240826065950_removeinvoicecols")] [DBScript("001.InvoiceFunctions.sql")] public partial class removeinvoicecols : DBScriptsMigration { /// protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.DropIndex( name: "IX_Invoices_OrderId", table: "Invoices"); migrationBuilder.DropColumn( name: "ItemCode", table: "Invoices"); migrationBuilder.DropColumn( name: "OrderId", table: "Invoices"); migrationBuilder.DropColumn( name: "CustomerEmail", table: "Invoices"); base.Up(migrationBuilder); } } }