using Microsoft.EntityFrameworkCore.Migrations; #nullable disable namespace MTWorkHR.Infrastructure.Migrations { /// public partial class altrAllow : Migration { /// protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.AlterColumn( name: "PaymentType", table: "ContractAllowance", type: "nvarchar(max)", nullable: true, oldClrType: typeof(int), oldType: "int"); } /// protected override void Down(MigrationBuilder migrationBuilder) { migrationBuilder.AlterColumn( name: "PaymentType", table: "ContractAllowance", type: "int", nullable: false, defaultValue: 0, oldClrType: typeof(string), oldType: "nvarchar(max)", oldNullable: true); } } }