ยกเลิกลูกจ้าง
Some checks failed
release-dev / release-dev (push) Failing after 13s

This commit is contained in:
moss 2025-05-27 19:48:38 +07:00
parent 28f8971e7f
commit 4b43104400
11 changed files with 22046 additions and 8 deletions

View file

@ -0,0 +1,109 @@
using System;
using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace BMA.EHR.Infrastructure.Migrations
{
/// <inheritdoc />
public partial class update_table_retirementresignemp_add_group : Migration
{
/// <inheritdoc />
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<string>(
name: "ApproveStep",
table: "RetirementResignEmployeeCancels",
type: "longtext",
nullable: true,
comment: "step การอนุมัติ st1 = จทน.อนุมัตื,st2 = ผู้บังคับบัญชา อนุมัติ ")
.Annotation("MySql:CharSet", "utf8mb4");
migrationBuilder.AddColumn<string>(
name: "Group",
table: "RetirementResignEmployeeCancels",
type: "longtext",
nullable: true,
comment: "คนยื่นมาอยู่ในกลุ่ม")
.Annotation("MySql:CharSet", "utf8mb4");
migrationBuilder.AddColumn<string>(
name: "Org",
table: "RetirementResignEmployeeCancelApprovers",
type: "longtext",
nullable: false)
.Annotation("MySql:CharSet", "utf8mb4");
migrationBuilder.AddColumn<DateTime>(
name: "RejectDate",
table: "RetirementResignEmployeeCancelApprovers",
type: "datetime(6)",
nullable: true);
migrationBuilder.AddColumn<string>(
name: "ApproveStep",
table: "RetirementResignCancels",
type: "longtext",
nullable: true,
comment: "step การอนุมัติ st1 = จทน.อนุมัตื,st2 = ผู้บังคับบัญชา อนุมัติ ")
.Annotation("MySql:CharSet", "utf8mb4");
migrationBuilder.AddColumn<string>(
name: "Group",
table: "RetirementResignCancels",
type: "longtext",
nullable: true,
comment: "คนยื่นมาอยู่ในกลุ่ม")
.Annotation("MySql:CharSet", "utf8mb4");
migrationBuilder.AddColumn<string>(
name: "Org",
table: "RetirementResignCancelApprovers",
type: "longtext",
nullable: false)
.Annotation("MySql:CharSet", "utf8mb4");
migrationBuilder.AddColumn<DateTime>(
name: "RejectDate",
table: "RetirementResignCancelApprovers",
type: "datetime(6)",
nullable: true);
}
/// <inheritdoc />
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "ApproveStep",
table: "RetirementResignEmployeeCancels");
migrationBuilder.DropColumn(
name: "Group",
table: "RetirementResignEmployeeCancels");
migrationBuilder.DropColumn(
name: "Org",
table: "RetirementResignEmployeeCancelApprovers");
migrationBuilder.DropColumn(
name: "RejectDate",
table: "RetirementResignEmployeeCancelApprovers");
migrationBuilder.DropColumn(
name: "ApproveStep",
table: "RetirementResignCancels");
migrationBuilder.DropColumn(
name: "Group",
table: "RetirementResignCancels");
migrationBuilder.DropColumn(
name: "Org",
table: "RetirementResignCancelApprovers");
migrationBuilder.DropColumn(
name: "RejectDate",
table: "RetirementResignCancelApprovers");
}
}
}