using Microsoft.EntityFrameworkCore.Migrations; #nullable disable namespace FindAndDrive.Persistence.Migrations { public partial class AddedMonthlyAndTotalCosts : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.AddColumn( name: "MonthlyFinancingAmount", table: "ApplicantFinance", type: "decimal(18,2)", precision: 18, scale: 2, nullable: false, defaultValue: 0m); migrationBuilder.AddColumn( name: "TotalFinancingAmount", table: "ApplicantFinance", type: "decimal(18,2)", precision: 18, scale: 2, nullable: false, defaultValue: 0m); } protected override void Down(MigrationBuilder migrationBuilder) { migrationBuilder.DropColumn( name: "MonthlyFinancingAmount", table: "ApplicantFinance"); migrationBuilder.DropColumn( name: "TotalFinancingAmount", table: "ApplicantFinance"); } } }