ออกคำสั่งวินัย

This commit is contained in:
Kittapath 2024-01-06 03:00:04 +07:00
parent 7556a6c400
commit be98975ce0
10 changed files with 17496 additions and 68 deletions

View file

@ -0,0 +1,31 @@
using System;
using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace BMA.EHR.Infrastructure.Migrations
{
/// <inheritdoc />
public partial class updatetablecommandreceiveaddrefdiscripline : Migration
{
/// <inheritdoc />
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<Guid>(
name: "RefDisciplineId",
table: "CommandReceivers",
type: "char(36)",
nullable: true,
comment: "รหัสอ้างอิงไปยังข้อมูลวินัย",
collation: "ascii_general_ci");
}
/// <inheritdoc />
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "RefDisciplineId",
table: "CommandReceivers");
}
}
}

View file

@ -575,6 +575,10 @@ namespace BMA.EHR.Infrastructure.Migrations
.HasColumnType("varchar(50)")
.HasComment("คำนำหน้านาม");
b.Property<Guid?>("RefDisciplineId")
.HasColumnType("char(36)")
.HasComment("รหัสอ้างอิงไปยังข้อมูลวินัย");
b.Property<Guid?>("RefPlacementProfileId")
.HasColumnType("char(36)")
.HasComment("รหัสอ้างอิงไปยังข้อมูลผู้บรรจุ");