using Microsoft.EntityFrameworkCore.Migrations; #nullable disable namespace CompanyManagment.EFCore.Migrations { /// public partial class changemaxlengthofcontactinfoofinstitutioncontract : Migration { /// protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.AlterColumn( name: "FnameLname", table: "InstitutinContractContactInfo", type: "nvarchar(150)", maxLength: 150, nullable: true, oldClrType: typeof(string), oldType: "nvarchar(50)", oldMaxLength: 50, oldNullable: true); } /// protected override void Down(MigrationBuilder migrationBuilder) { migrationBuilder.AlterColumn( name: "FnameLname", table: "InstitutinContractContactInfo", type: "nvarchar(50)", maxLength: 50, nullable: true, oldClrType: typeof(string), oldType: "nvarchar(150)", oldMaxLength: 150, oldNullable: true); } } }