using Microsoft.EntityFrameworkCore.Migrations; #nullable disable namespace BMA.EHR.Recurit.Exam.Service.Migrations { /// public partial class update_DisableAddress : Migration { /// protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.AlterColumn( name: "ZipCode1", table: "DisableAddresses", type: "varchar(10)", maxLength: 10, nullable: false, oldClrType: typeof(string), oldType: "varchar(5)", oldMaxLength: 5) .Annotation("MySql:CharSet", "utf8mb4") .OldAnnotation("MySql:CharSet", "utf8mb4"); migrationBuilder.AlterColumn( name: "ZipCode", table: "DisableAddresses", type: "varchar(10)", maxLength: 10, nullable: false, oldClrType: typeof(string), oldType: "varchar(5)", oldMaxLength: 5) .Annotation("MySql:CharSet", "utf8mb4") .OldAnnotation("MySql:CharSet", "utf8mb4"); } /// protected override void Down(MigrationBuilder migrationBuilder) { migrationBuilder.AlterColumn( name: "ZipCode1", table: "DisableAddresses", type: "varchar(5)", maxLength: 5, nullable: false, oldClrType: typeof(string), oldType: "varchar(10)", oldMaxLength: 10) .Annotation("MySql:CharSet", "utf8mb4") .OldAnnotation("MySql:CharSet", "utf8mb4"); migrationBuilder.AlterColumn( name: "ZipCode", table: "DisableAddresses", type: "varchar(5)", maxLength: 5, nullable: false, oldClrType: typeof(string), oldType: "varchar(10)", oldMaxLength: 10) .Annotation("MySql:CharSet", "utf8mb4") .OldAnnotation("MySql:CharSet", "utf8mb4"); } } }