using Microsoft.EntityFrameworkCore.Migrations; #nullable disable namespace CompanyManagment.EFCore.Migrations { /// public partial class addcallbackurltopaymenttransaction : Migration { /// protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.DropColumn( name: "AccountNumber", table: "PaymentTransactions"); migrationBuilder.DropColumn( name: "BankAccountHolderName", table: "PaymentTransactions"); migrationBuilder.DropColumn( name: "ShebaNumber", table: "PaymentTransactions"); migrationBuilder.AddColumn( name: "CallBackUrl", table: "PaymentTransactions", type: "nvarchar(500)", maxLength: 500, nullable: true); } /// protected override void Down(MigrationBuilder migrationBuilder) { migrationBuilder.DropColumn( name: "CallBackUrl", table: "PaymentTransactions"); migrationBuilder.AddColumn( name: "AccountNumber", table: "PaymentTransactions", type: "nvarchar(25)", maxLength: 25, nullable: true); migrationBuilder.AddColumn( name: "BankAccountHolderName", table: "PaymentTransactions", type: "nvarchar(255)", maxLength: 255, nullable: true); migrationBuilder.AddColumn( name: "ShebaNumber", table: "PaymentTransactions", type: "nvarchar(30)", maxLength: 30, nullable: true); } } }