using Microsoft.EntityFrameworkCore.Migrations; #nullable disable namespace BMA.EHR.Infrastructure.Migrations { /// public partial class updatetableRetirementResignsaddReasonResign : Migration { /// protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.AddColumn( name: "ReasonResign", table: "RetirementResigns", type: "longtext", nullable: true, comment: "เหตุผลที่ลาออกจากราชการ") .Annotation("MySql:CharSet", "utf8mb4"); migrationBuilder.AddColumn( name: "ReasonResign", table: "RetirementResignEmployees", type: "longtext", nullable: true, comment: "เหตุผลที่ลาออกจากราชการ") .Annotation("MySql:CharSet", "utf8mb4"); } /// protected override void Down(MigrationBuilder migrationBuilder) { migrationBuilder.DropColumn( name: "ReasonResign", table: "RetirementResigns"); migrationBuilder.DropColumn( name: "ReasonResign", table: "RetirementResignEmployees"); } } }