using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace gehGassi.Persistence.Migrations
{
///
public partial class PaymentTransactionErrorsAdded : Migration
{
///
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn(
name: "ErrorMessage",
table: "PaymentTransactions",
type: "nvarchar(500)",
maxLength: 500,
nullable: true);
migrationBuilder.AddColumn(
name: "ErrorMessages",
table: "PaymentTransactions",
type: "nvarchar(1000)",
maxLength: 1000,
nullable: true);
migrationBuilder.AddColumn(
name: "ErrorType",
table: "PaymentTransactions",
type: "nvarchar(255)",
maxLength: 255,
nullable: true);
}
///
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "ErrorMessage",
table: "PaymentTransactions");
migrationBuilder.DropColumn(
name: "ErrorMessages",
table: "PaymentTransactions");
migrationBuilder.DropColumn(
name: "ErrorType",
table: "PaymentTransactions");
}
}
}