refid ส่งกลับ

This commit is contained in:
moss 2025-04-01 11:08:27 +07:00
parent b1d198133f
commit 6dd057516f
5 changed files with 20143 additions and 1 deletions

View file

@ -0,0 +1,31 @@
using System;
using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace BMA.EHR.Infrastructure.Migrations
{
/// <inheritdoc />
public partial class update_table_placementRepatriation_add_refId : Migration
{
/// <inheritdoc />
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<Guid>(
name: "refId",
table: "PlacementRepatriations",
type: "char(36)",
nullable: true,
comment: "Id อ้างอิงช่วยราช",
collation: "ascii_general_ci");
}
/// <inheritdoc />
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "refId",
table: "PlacementRepatriations");
}
}
}

View file

@ -14083,6 +14083,10 @@ namespace BMA.EHR.Infrastructure.Migrations
.HasColumnType("longtext")
.HasComment("profile Id");
b.Property<Guid?>("refId")
.HasColumnType("char(36)")
.HasComment("Id อ้างอิงช่วยราช");
b.Property<string>("rootDnaOldId")
.HasColumnType("longtext")
.HasComment("id หน่วยงาน rootDna old");