52 lines
1.4 KiB
C#

using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace gehGassi.Persistence.Migrations
{
/// <inheritdoc />
public partial class PayoutEx : Migration
{
/// <inheritdoc />
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<string>(
name: "RefundReasonMessage",
table: "Payouts",
type: "nvarchar(255)",
maxLength: 255,
nullable: true);
migrationBuilder.AddColumn<string>(
name: "RefundReasonType",
table: "Payouts",
type: "nvarchar(255)",
maxLength: 255,
nullable: true);
migrationBuilder.AddColumn<bool>(
name: "Refunded",
table: "Payouts",
type: "bit",
nullable: false,
defaultValue: false);
}
/// <inheritdoc />
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "RefundReasonMessage",
table: "Payouts");
migrationBuilder.DropColumn(
name: "RefundReasonType",
table: "Payouts");
migrationBuilder.DropColumn(
name: "Refunded",
table: "Payouts");
}
}
}