คำสั่ง 22 เพิ่มครั้งที่
This commit is contained in:
parent
cc711146c5
commit
6cfe02a2e0
8 changed files with 17021 additions and 2 deletions
16925
BMA.EHR.Infrastructure/Migrations/20231031151029_update table command add tranferNo.Designer.cs
generated
Normal file
16925
BMA.EHR.Infrastructure/Migrations/20231031151029_update table command add tranferNo.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -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");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue