mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-03-10 17:26:05 +01:00
32 lines
862 B
C#
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);
|
||
|
}
|
||
|
}
|
||
|
}
|