เพิ่มวันที่ยับยั่ง

This commit is contained in:
moss 2025-05-07 17:13:57 +07:00
parent f2a0b754b3
commit 64eb77674a
13 changed files with 41337 additions and 90 deletions

View file

@ -0,0 +1,39 @@
using System;
using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace BMA.EHR.Infrastructure.Migrations
{
/// <inheritdoc />
public partial class update_table_retirement_add_approver_date : Migration
{
/// <inheritdoc />
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<DateTime>(
name: "RejectDate",
table: "RetirementResignEmployeeApprovers",
type: "datetime(6)",
nullable: true);
migrationBuilder.AddColumn<DateTime>(
name: "RejectDate",
table: "RetirementResignApprovers",
type: "datetime(6)",
nullable: true);
}
/// <inheritdoc />
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "RejectDate",
table: "RetirementResignEmployeeApprovers");
migrationBuilder.DropColumn(
name: "RejectDate",
table: "RetirementResignApprovers");
}
}
}

View file

@ -0,0 +1,40 @@
using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace BMA.EHR.Infrastructure.Migrations
{
/// <inheritdoc />
public partial class update_table_retirement_add_approver_date1 : Migration
{
/// <inheritdoc />
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<string>(
name: "Org",
table: "RetirementResignEmployeeApprovers",
type: "longtext",
nullable: false)
.Annotation("MySql:CharSet", "utf8mb4");
migrationBuilder.AddColumn<string>(
name: "Org",
table: "RetirementResignApprovers",
type: "longtext",
nullable: false)
.Annotation("MySql:CharSet", "utf8mb4");
}
/// <inheritdoc />
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "Org",
table: "RetirementResignEmployeeApprovers");
migrationBuilder.DropColumn(
name: "Org",
table: "RetirementResignApprovers");
}
}
}

View file

@ -17132,6 +17132,10 @@ namespace BMA.EHR.Infrastructure.Migrations
.HasColumnOrder(102)
.HasComment("แก้ไขข้อมูลล่าสุดเมื่อ");
b.Property<string>("Org")
.IsRequired()
.HasColumnType("longtext");
b.Property<string>("PositionName")
.IsRequired()
.HasColumnType("longtext");
@ -17143,6 +17147,9 @@ namespace BMA.EHR.Infrastructure.Migrations
b.Property<Guid>("ProfileId")
.HasColumnType("char(36)");
b.Property<DateTime?>("RejectDate")
.HasColumnType("datetime(6)");
b.Property<Guid>("RetirementResignId")
.HasColumnType("char(36)");
@ -18051,6 +18058,10 @@ namespace BMA.EHR.Infrastructure.Migrations
.HasColumnOrder(102)
.HasComment("แก้ไขข้อมูลล่าสุดเมื่อ");
b.Property<string>("Org")
.IsRequired()
.HasColumnType("longtext");
b.Property<string>("PositionName")
.IsRequired()
.HasColumnType("longtext");
@ -18062,6 +18073,9 @@ namespace BMA.EHR.Infrastructure.Migrations
b.Property<Guid>("ProfileId")
.HasColumnType("char(36)");
b.Property<DateTime?>("RejectDate")
.HasColumnType("datetime(6)");
b.Property<Guid>("RetirementResignEmployeeId")
.HasColumnType("char(36)");