using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace gehGassiApp.Data.Migrations
{
///
public partial class PayoutEx : Migration
{
///
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn(
name: "RefundReasonMessage",
table: "Payouts",
type: "TEXT",
maxLength: 255,
nullable: true);
migrationBuilder.AddColumn(
name: "RefundReasonType",
table: "Payouts",
type: "TEXT",
maxLength: 255,
nullable: true);
migrationBuilder.AddColumn(
name: "Refunded",
table: "Payouts",
type: "INTEGER",
nullable: false,
defaultValue: false);
System.Diagnostics.Debug.WriteLine($"Migration PayoutEx done");
}
///
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "RefundReasonMessage",
table: "Payouts");
migrationBuilder.DropColumn(
name: "RefundReasonType",
table: "Payouts");
migrationBuilder.DropColumn(
name: "Refunded",
table: "Payouts");
}
}
}