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