btcpayserver/BTCPayServer.Data/Migrations/20240501015052_noperiod.cs
2024-05-01 17:59:10 +09:00

32 lines
862 B
C#

using BTCPayServer.Data;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace BTCPayServer.Migrations
{
[DbContext(typeof(ApplicationDbContext))]
[Migration("20240501015052_noperiod")]
public partial class noperiod : Migration
{
/// <inheritdoc />
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "Period",
table: "PullPayments");
}
/// <inheritdoc />
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<long>(
name: "Period",
table: "PullPayments",
type: "bigint",
nullable: true);
}
}
}