mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2024-11-19 09:54:30 +01:00
36 lines
1015 B
C#
36 lines
1015 B
C#
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
|
|
{
|
|
/// <inheritdoc />
|
|
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);
|
|
}
|
|
}
|
|
}
|