using Microsoft.EntityFrameworkCore.Migrations; #nullable disable namespace FindAndDrive.Persistence.Migrations { public partial class AddedMaxLengthToEnums : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.AlterColumn( name: "Province", table: "Applicants", type: "nvarchar(13)", maxLength: 13, nullable: true, oldClrType: typeof(string), oldType: "nvarchar(max)", oldNullable: true); migrationBuilder.AlterColumn( name: "MaritalStatus", table: "Applicants", type: "nvarchar(10)", maxLength: 10, nullable: true, oldClrType: typeof(string), oldType: "nvarchar(max)", oldNullable: true); } protected override void Down(MigrationBuilder migrationBuilder) { migrationBuilder.AlterColumn( name: "Province", table: "Applicants", type: "nvarchar(max)", nullable: true, oldClrType: typeof(string), oldType: "nvarchar(13)", oldMaxLength: 13, oldNullable: true); migrationBuilder.AlterColumn( name: "MaritalStatus", table: "Applicants", type: "nvarchar(max)", nullable: true, oldClrType: typeof(string), oldType: "nvarchar(10)", oldMaxLength: 10, oldNullable: true); } } }