คำสั่ง 22 เพิ่มครั้งที่

This commit is contained in:
Kittapath 2023-10-31 23:02:23 +07:00
parent cc711146c5
commit 6cfe02a2e0
8 changed files with 17021 additions and 2 deletions

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,42 @@
using System;
using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace BMA.EHR.Infrastructure.Migrations
{
/// <inheritdoc />
public partial class updatetablecommandaddtranferNo : Migration
{
/// <inheritdoc />
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<DateTime>(
name: "ConclusionTranferDate",
table: "Commands",
type: "datetime(6)",
nullable: true,
comment: "การประชุม ลงวันที่");
migrationBuilder.AddColumn<string>(
name: "ConclusionTranferNo",
table: "Commands",
type: "longtext",
nullable: true,
comment: "การประชุม ครั้งที่")
.Annotation("MySql:CharSet", "utf8mb4");
}
/// <inheritdoc />
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "ConclusionTranferDate",
table: "Commands");
migrationBuilder.DropColumn(
name: "ConclusionTranferNo",
table: "Commands");
}
}
}

View file

@ -132,6 +132,14 @@ namespace BMA.EHR.Infrastructure.Migrations
.HasColumnType("longtext")
.HasComment("มติ กก. ครั้งที่ (เรื่อง กลับเข้ารับราชการ)");
b.Property<DateTime?>("ConclusionTranferDate")
.HasColumnType("datetime(6)")
.HasComment("การประชุม ลงวันที่");
b.Property<string>("ConclusionTranferNo")
.HasColumnType("longtext")
.HasComment("การประชุม ครั้งที่");
b.Property<DateTime>("CreatedAt")
.HasColumnType("datetime(6)")
.HasColumnOrder(100)