แก้ไขหมาย้หตุคำสั่ง
This commit is contained in:
parent
a76ba4270f
commit
ccf19c5683
21 changed files with 16530 additions and 70 deletions
16391
BMA.EHR.Infrastructure/Migrations/20231002090715_update table RetirementOther add MilitaryDate.Designer.cs
generated
Normal file
16391
BMA.EHR.Infrastructure/Migrations/20231002090715_update table RetirementOther add MilitaryDate.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -0,0 +1,30 @@
|
|||
using System;
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace BMA.EHR.Infrastructure.Migrations
|
||||
{
|
||||
/// <inheritdoc />
|
||||
public partial class updatetableRetirementOtheraddMilitaryDate : Migration
|
||||
{
|
||||
/// <inheritdoc />
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.AddColumn<DateTime>(
|
||||
name: "MilitaryDate",
|
||||
table: "RetirementOthers",
|
||||
type: "datetime(6)",
|
||||
nullable: true,
|
||||
comment: "วันที่พ้นจากราชการทหาร");
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropColumn(
|
||||
name: "MilitaryDate",
|
||||
table: "RetirementOthers");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -13230,6 +13230,10 @@ namespace BMA.EHR.Infrastructure.Migrations
|
|||
.HasColumnType("longtext")
|
||||
.HasComment("นามสกุล");
|
||||
|
||||
b.Property<DateTime?>("MilitaryDate")
|
||||
.HasColumnType("datetime(6)")
|
||||
.HasComment("วันที่พ้นจากราชการทหาร");
|
||||
|
||||
b.Property<string>("Nationality")
|
||||
.HasMaxLength(100)
|
||||
.HasColumnType("varchar(100)")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue