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