add dna
This commit is contained in:
parent
dbe6916782
commit
5ea175ca77
61 changed files with 66329 additions and 129 deletions
19751
BMA.EHR.Infrastructure/Migrations/20250205065119_update table placementProfile add dnaroot.Designer.cs
generated
Normal file
19751
BMA.EHR.Infrastructure/Migrations/20250205065119_update table placementProfile add dnaroot.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -0,0 +1,498 @@
|
|||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace BMA.EHR.Infrastructure.Migrations
|
||||
{
|
||||
/// <inheritdoc />
|
||||
public partial class updatetableplacementProfileadddnaroot : Migration
|
||||
{
|
||||
/// <inheritdoc />
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "child1DnaOldId",
|
||||
table: "RetirementOthers",
|
||||
type: "longtext",
|
||||
nullable: true,
|
||||
comment: "id หน่วยงาน child1Dna old")
|
||||
.Annotation("MySql:CharSet", "utf8mb4");
|
||||
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "child2DnaOldId",
|
||||
table: "RetirementOthers",
|
||||
type: "longtext",
|
||||
nullable: true,
|
||||
comment: "id หน่วยงาน child2Dna old")
|
||||
.Annotation("MySql:CharSet", "utf8mb4");
|
||||
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "child3DnaOldId",
|
||||
table: "RetirementOthers",
|
||||
type: "longtext",
|
||||
nullable: true,
|
||||
comment: "id หน่วยงาน child3Dna old")
|
||||
.Annotation("MySql:CharSet", "utf8mb4");
|
||||
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "child4DnaOldId",
|
||||
table: "RetirementOthers",
|
||||
type: "longtext",
|
||||
nullable: true,
|
||||
comment: "id หน่วยงาน child4Dna old")
|
||||
.Annotation("MySql:CharSet", "utf8mb4");
|
||||
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "rootDnaOldId",
|
||||
table: "RetirementOthers",
|
||||
type: "longtext",
|
||||
nullable: true,
|
||||
comment: "id หน่วยงาน rootDna old")
|
||||
.Annotation("MySql:CharSet", "utf8mb4");
|
||||
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "child1DnaOldId",
|
||||
table: "PlacementTransfers",
|
||||
type: "longtext",
|
||||
nullable: true,
|
||||
comment: "id หน่วยงาน child1Dna old")
|
||||
.Annotation("MySql:CharSet", "utf8mb4");
|
||||
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "child2DnaOldId",
|
||||
table: "PlacementTransfers",
|
||||
type: "longtext",
|
||||
nullable: true,
|
||||
comment: "id หน่วยงาน child2Dna old")
|
||||
.Annotation("MySql:CharSet", "utf8mb4");
|
||||
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "child3DnaOldId",
|
||||
table: "PlacementTransfers",
|
||||
type: "longtext",
|
||||
nullable: true,
|
||||
comment: "id หน่วยงาน child3Dna old")
|
||||
.Annotation("MySql:CharSet", "utf8mb4");
|
||||
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "child4DnaOldId",
|
||||
table: "PlacementTransfers",
|
||||
type: "longtext",
|
||||
nullable: true,
|
||||
comment: "id หน่วยงาน child4Dna old")
|
||||
.Annotation("MySql:CharSet", "utf8mb4");
|
||||
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "rootDnaOldId",
|
||||
table: "PlacementTransfers",
|
||||
type: "longtext",
|
||||
nullable: true,
|
||||
comment: "id หน่วยงาน rootDna old")
|
||||
.Annotation("MySql:CharSet", "utf8mb4");
|
||||
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "child1DnaOldId",
|
||||
table: "PlacementRepatriations",
|
||||
type: "longtext",
|
||||
nullable: true,
|
||||
comment: "id หน่วยงาน child1Dna old")
|
||||
.Annotation("MySql:CharSet", "utf8mb4");
|
||||
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "child2DnaOldId",
|
||||
table: "PlacementRepatriations",
|
||||
type: "longtext",
|
||||
nullable: true,
|
||||
comment: "id หน่วยงาน child2Dna old")
|
||||
.Annotation("MySql:CharSet", "utf8mb4");
|
||||
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "child3DnaOldId",
|
||||
table: "PlacementRepatriations",
|
||||
type: "longtext",
|
||||
nullable: true,
|
||||
comment: "id หน่วยงาน child3Dna old")
|
||||
.Annotation("MySql:CharSet", "utf8mb4");
|
||||
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "child4DnaOldId",
|
||||
table: "PlacementRepatriations",
|
||||
type: "longtext",
|
||||
nullable: true,
|
||||
comment: "id หน่วยงาน child4Dna old")
|
||||
.Annotation("MySql:CharSet", "utf8mb4");
|
||||
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "rootDnaOldId",
|
||||
table: "PlacementRepatriations",
|
||||
type: "longtext",
|
||||
nullable: true,
|
||||
comment: "id หน่วยงาน rootDna old")
|
||||
.Annotation("MySql:CharSet", "utf8mb4");
|
||||
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "child1DnaId",
|
||||
table: "PlacementReceives",
|
||||
type: "longtext",
|
||||
nullable: true,
|
||||
comment: "id หน่วยงาน child1Dna")
|
||||
.Annotation("MySql:CharSet", "utf8mb4");
|
||||
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "child2DnaId",
|
||||
table: "PlacementReceives",
|
||||
type: "longtext",
|
||||
nullable: true,
|
||||
comment: "id หน่วยงาน child2Dna")
|
||||
.Annotation("MySql:CharSet", "utf8mb4");
|
||||
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "child3DnaId",
|
||||
table: "PlacementReceives",
|
||||
type: "longtext",
|
||||
nullable: true,
|
||||
comment: "id หน่วยงาน child3Dna")
|
||||
.Annotation("MySql:CharSet", "utf8mb4");
|
||||
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "child4DnaId",
|
||||
table: "PlacementReceives",
|
||||
type: "longtext",
|
||||
nullable: true,
|
||||
comment: "id หน่วยงาน child4Dna")
|
||||
.Annotation("MySql:CharSet", "utf8mb4");
|
||||
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "rootDnaId",
|
||||
table: "PlacementReceives",
|
||||
type: "longtext",
|
||||
nullable: true,
|
||||
comment: "id หน่วยงาน rootDna")
|
||||
.Annotation("MySql:CharSet", "utf8mb4");
|
||||
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "child1DnaId",
|
||||
table: "PlacementProfiles",
|
||||
type: "longtext",
|
||||
nullable: true,
|
||||
comment: "id หน่วยงาน child1Dna")
|
||||
.Annotation("MySql:CharSet", "utf8mb4");
|
||||
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "child2DnaId",
|
||||
table: "PlacementProfiles",
|
||||
type: "longtext",
|
||||
nullable: true,
|
||||
comment: "id หน่วยงาน child2Dna")
|
||||
.Annotation("MySql:CharSet", "utf8mb4");
|
||||
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "child3DnaId",
|
||||
table: "PlacementProfiles",
|
||||
type: "longtext",
|
||||
nullable: true,
|
||||
comment: "id หน่วยงาน child3Dna")
|
||||
.Annotation("MySql:CharSet", "utf8mb4");
|
||||
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "child4DnaId",
|
||||
table: "PlacementProfiles",
|
||||
type: "longtext",
|
||||
nullable: true,
|
||||
comment: "id หน่วยงาน child4Dna")
|
||||
.Annotation("MySql:CharSet", "utf8mb4");
|
||||
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "rootDnaId",
|
||||
table: "PlacementProfiles",
|
||||
type: "longtext",
|
||||
nullable: true,
|
||||
comment: "id หน่วยงาน rootDna")
|
||||
.Annotation("MySql:CharSet", "utf8mb4");
|
||||
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "child1DnaOldId",
|
||||
table: "PlacementOfficers",
|
||||
type: "longtext",
|
||||
nullable: true,
|
||||
comment: "id หน่วยงาน child1Dna old")
|
||||
.Annotation("MySql:CharSet", "utf8mb4");
|
||||
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "child2DnaOldId",
|
||||
table: "PlacementOfficers",
|
||||
type: "longtext",
|
||||
nullable: true,
|
||||
comment: "id หน่วยงาน child2Dna old")
|
||||
.Annotation("MySql:CharSet", "utf8mb4");
|
||||
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "child3DnaOldId",
|
||||
table: "PlacementOfficers",
|
||||
type: "longtext",
|
||||
nullable: true,
|
||||
comment: "id หน่วยงาน child3Dna old")
|
||||
.Annotation("MySql:CharSet", "utf8mb4");
|
||||
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "child4DnaOldId",
|
||||
table: "PlacementOfficers",
|
||||
type: "longtext",
|
||||
nullable: true,
|
||||
comment: "id หน่วยงาน child4Dna old")
|
||||
.Annotation("MySql:CharSet", "utf8mb4");
|
||||
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "rootDnaOldId",
|
||||
table: "PlacementOfficers",
|
||||
type: "longtext",
|
||||
nullable: true,
|
||||
comment: "id หน่วยงาน rootDna old")
|
||||
.Annotation("MySql:CharSet", "utf8mb4");
|
||||
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "child1DnaId",
|
||||
table: "PlacementAppointments",
|
||||
type: "longtext",
|
||||
nullable: true,
|
||||
comment: "id หน่วยงาน child1Dna")
|
||||
.Annotation("MySql:CharSet", "utf8mb4");
|
||||
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "child2DnaId",
|
||||
table: "PlacementAppointments",
|
||||
type: "longtext",
|
||||
nullable: true,
|
||||
comment: "id หน่วยงาน child2Dna")
|
||||
.Annotation("MySql:CharSet", "utf8mb4");
|
||||
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "child3DnaId",
|
||||
table: "PlacementAppointments",
|
||||
type: "longtext",
|
||||
nullable: true,
|
||||
comment: "id หน่วยงาน child3Dna")
|
||||
.Annotation("MySql:CharSet", "utf8mb4");
|
||||
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "child4DnaId",
|
||||
table: "PlacementAppointments",
|
||||
type: "longtext",
|
||||
nullable: true,
|
||||
comment: "id หน่วยงาน child4Dna")
|
||||
.Annotation("MySql:CharSet", "utf8mb4");
|
||||
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "rootDnaId",
|
||||
table: "PlacementAppointments",
|
||||
type: "longtext",
|
||||
nullable: true,
|
||||
comment: "id หน่วยงาน rootDna")
|
||||
.Annotation("MySql:CharSet", "utf8mb4");
|
||||
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "child1DnaId",
|
||||
table: "PlacementAppointmentEmployee",
|
||||
type: "longtext",
|
||||
nullable: true,
|
||||
comment: "id หน่วยงาน child1Dna")
|
||||
.Annotation("MySql:CharSet", "utf8mb4");
|
||||
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "child2DnaId",
|
||||
table: "PlacementAppointmentEmployee",
|
||||
type: "longtext",
|
||||
nullable: true,
|
||||
comment: "id หน่วยงาน child2Dna")
|
||||
.Annotation("MySql:CharSet", "utf8mb4");
|
||||
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "child3DnaId",
|
||||
table: "PlacementAppointmentEmployee",
|
||||
type: "longtext",
|
||||
nullable: true,
|
||||
comment: "id หน่วยงาน child3Dna")
|
||||
.Annotation("MySql:CharSet", "utf8mb4");
|
||||
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "child4DnaId",
|
||||
table: "PlacementAppointmentEmployee",
|
||||
type: "longtext",
|
||||
nullable: true,
|
||||
comment: "id หน่วยงาน child4Dna")
|
||||
.Annotation("MySql:CharSet", "utf8mb4");
|
||||
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "rootDnaId",
|
||||
table: "PlacementAppointmentEmployee",
|
||||
type: "longtext",
|
||||
nullable: true,
|
||||
comment: "id DNA ใช้ในกรณีที่มีการทำสำเนาโครงสร้าง โครงสร้างใหม่ที่ทำสำเนากับโครงสร้างเก่าจะต้องมี DNA เดียวกัน เพื่อให้ track ประวัติการแก้ไขโครงสร้างย้อนหลังได้")
|
||||
.Annotation("MySql:CharSet", "utf8mb4");
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropColumn(
|
||||
name: "child1DnaOldId",
|
||||
table: "RetirementOthers");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "child2DnaOldId",
|
||||
table: "RetirementOthers");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "child3DnaOldId",
|
||||
table: "RetirementOthers");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "child4DnaOldId",
|
||||
table: "RetirementOthers");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "rootDnaOldId",
|
||||
table: "RetirementOthers");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "child1DnaOldId",
|
||||
table: "PlacementTransfers");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "child2DnaOldId",
|
||||
table: "PlacementTransfers");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "child3DnaOldId",
|
||||
table: "PlacementTransfers");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "child4DnaOldId",
|
||||
table: "PlacementTransfers");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "rootDnaOldId",
|
||||
table: "PlacementTransfers");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "child1DnaOldId",
|
||||
table: "PlacementRepatriations");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "child2DnaOldId",
|
||||
table: "PlacementRepatriations");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "child3DnaOldId",
|
||||
table: "PlacementRepatriations");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "child4DnaOldId",
|
||||
table: "PlacementRepatriations");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "rootDnaOldId",
|
||||
table: "PlacementRepatriations");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "child1DnaId",
|
||||
table: "PlacementReceives");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "child2DnaId",
|
||||
table: "PlacementReceives");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "child3DnaId",
|
||||
table: "PlacementReceives");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "child4DnaId",
|
||||
table: "PlacementReceives");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "rootDnaId",
|
||||
table: "PlacementReceives");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "child1DnaId",
|
||||
table: "PlacementProfiles");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "child2DnaId",
|
||||
table: "PlacementProfiles");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "child3DnaId",
|
||||
table: "PlacementProfiles");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "child4DnaId",
|
||||
table: "PlacementProfiles");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "rootDnaId",
|
||||
table: "PlacementProfiles");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "child1DnaOldId",
|
||||
table: "PlacementOfficers");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "child2DnaOldId",
|
||||
table: "PlacementOfficers");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "child3DnaOldId",
|
||||
table: "PlacementOfficers");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "child4DnaOldId",
|
||||
table: "PlacementOfficers");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "rootDnaOldId",
|
||||
table: "PlacementOfficers");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "child1DnaId",
|
||||
table: "PlacementAppointments");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "child2DnaId",
|
||||
table: "PlacementAppointments");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "child3DnaId",
|
||||
table: "PlacementAppointments");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "child4DnaId",
|
||||
table: "PlacementAppointments");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "rootDnaId",
|
||||
table: "PlacementAppointments");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "child1DnaId",
|
||||
table: "PlacementAppointmentEmployee");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "child2DnaId",
|
||||
table: "PlacementAppointmentEmployee");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "child3DnaId",
|
||||
table: "PlacementAppointmentEmployee");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "child4DnaId",
|
||||
table: "PlacementAppointmentEmployee");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "rootDnaId",
|
||||
table: "PlacementAppointmentEmployee");
|
||||
}
|
||||
}
|
||||
}
|
||||
19850
BMA.EHR.Infrastructure/Migrations/20250205090626_update table placementProfile add dnaroot1.Designer.cs
generated
Normal file
19850
BMA.EHR.Infrastructure/Migrations/20250205090626_update table placementProfile add dnaroot1.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -0,0 +1,317 @@
|
|||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace BMA.EHR.Infrastructure.Migrations
|
||||
{
|
||||
/// <inheritdoc />
|
||||
public partial class updatetableplacementProfileadddnaroot1 : Migration
|
||||
{
|
||||
/// <inheritdoc />
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "child1DnaOldId",
|
||||
table: "RetirementResigns",
|
||||
type: "longtext",
|
||||
nullable: true,
|
||||
comment: "id หน่วยงาน child1 old")
|
||||
.Annotation("MySql:CharSet", "utf8mb4");
|
||||
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "child2DnaOldId",
|
||||
table: "RetirementResigns",
|
||||
type: "longtext",
|
||||
nullable: true,
|
||||
comment: "id หน่วยงาน child2 old")
|
||||
.Annotation("MySql:CharSet", "utf8mb4");
|
||||
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "child3DnaOldId",
|
||||
table: "RetirementResigns",
|
||||
type: "longtext",
|
||||
nullable: true,
|
||||
comment: "id หน่วยงาน child3 old")
|
||||
.Annotation("MySql:CharSet", "utf8mb4");
|
||||
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "child4DnaOldId",
|
||||
table: "RetirementResigns",
|
||||
type: "longtext",
|
||||
nullable: true,
|
||||
comment: "id หน่วยงาน child4 old")
|
||||
.Annotation("MySql:CharSet", "utf8mb4");
|
||||
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "rootDnaOldId",
|
||||
table: "RetirementResigns",
|
||||
type: "longtext",
|
||||
nullable: true,
|
||||
comment: "id หน่วยงาน root old")
|
||||
.Annotation("MySql:CharSet", "utf8mb4");
|
||||
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "child1DnaOldId",
|
||||
table: "RetirementResignEmployees",
|
||||
type: "longtext",
|
||||
nullable: true,
|
||||
comment: "id หน่วยงาน child1 old")
|
||||
.Annotation("MySql:CharSet", "utf8mb4");
|
||||
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "child2DnaOldId",
|
||||
table: "RetirementResignEmployees",
|
||||
type: "longtext",
|
||||
nullable: true,
|
||||
comment: "id หน่วยงาน child2 old")
|
||||
.Annotation("MySql:CharSet", "utf8mb4");
|
||||
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "child3DnaOldId",
|
||||
table: "RetirementResignEmployees",
|
||||
type: "longtext",
|
||||
nullable: true,
|
||||
comment: "id หน่วยงาน child3 old")
|
||||
.Annotation("MySql:CharSet", "utf8mb4");
|
||||
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "child4DnaOldId",
|
||||
table: "RetirementResignEmployees",
|
||||
type: "longtext",
|
||||
nullable: true,
|
||||
comment: "id หน่วยงาน child4 old")
|
||||
.Annotation("MySql:CharSet", "utf8mb4");
|
||||
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "rootDnaOldId",
|
||||
table: "RetirementResignEmployees",
|
||||
type: "longtext",
|
||||
nullable: true,
|
||||
comment: "id หน่วยงาน root old")
|
||||
.Annotation("MySql:CharSet", "utf8mb4");
|
||||
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "child1DnaId",
|
||||
table: "RetirementProfiles",
|
||||
type: "longtext",
|
||||
nullable: true,
|
||||
comment: "id หน่วยงาน child1 ")
|
||||
.Annotation("MySql:CharSet", "utf8mb4");
|
||||
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "child2DnaId",
|
||||
table: "RetirementProfiles",
|
||||
type: "longtext",
|
||||
nullable: true,
|
||||
comment: "id หน่วยงาน child2 ")
|
||||
.Annotation("MySql:CharSet", "utf8mb4");
|
||||
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "child3DnaId",
|
||||
table: "RetirementProfiles",
|
||||
type: "longtext",
|
||||
nullable: true,
|
||||
comment: "id หน่วยงาน child3 ")
|
||||
.Annotation("MySql:CharSet", "utf8mb4");
|
||||
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "child4DnaId",
|
||||
table: "RetirementProfiles",
|
||||
type: "longtext",
|
||||
nullable: true,
|
||||
comment: "id หน่วยงาน child4 ")
|
||||
.Annotation("MySql:CharSet", "utf8mb4");
|
||||
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "rootDnaId",
|
||||
table: "RetirementProfiles",
|
||||
type: "longtext",
|
||||
nullable: true,
|
||||
comment: "id หน่วยงาน root ")
|
||||
.Annotation("MySql:CharSet", "utf8mb4");
|
||||
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "child1DnaOldId",
|
||||
table: "RetirementOuts",
|
||||
type: "longtext",
|
||||
nullable: true,
|
||||
comment: "id หน่วยงาน child1 old")
|
||||
.Annotation("MySql:CharSet", "utf8mb4");
|
||||
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "child2DnaOldId",
|
||||
table: "RetirementOuts",
|
||||
type: "longtext",
|
||||
nullable: true,
|
||||
comment: "id หน่วยงาน child2 old")
|
||||
.Annotation("MySql:CharSet", "utf8mb4");
|
||||
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "child3DnaOldId",
|
||||
table: "RetirementOuts",
|
||||
type: "longtext",
|
||||
nullable: true,
|
||||
comment: "id หน่วยงาน child3 old")
|
||||
.Annotation("MySql:CharSet", "utf8mb4");
|
||||
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "child4DnaOldId",
|
||||
table: "RetirementOuts",
|
||||
type: "longtext",
|
||||
nullable: true,
|
||||
comment: "id หน่วยงาน child4 old")
|
||||
.Annotation("MySql:CharSet", "utf8mb4");
|
||||
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "rootDnaOldId",
|
||||
table: "RetirementOuts",
|
||||
type: "longtext",
|
||||
nullable: true)
|
||||
.Annotation("MySql:CharSet", "utf8mb4");
|
||||
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "child1DnaId",
|
||||
table: "RetirementDeceaseds",
|
||||
type: "longtext",
|
||||
nullable: true,
|
||||
comment: "id หน่วยงาน child1")
|
||||
.Annotation("MySql:CharSet", "utf8mb4");
|
||||
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "child2DnaId",
|
||||
table: "RetirementDeceaseds",
|
||||
type: "longtext",
|
||||
nullable: true,
|
||||
comment: "id หน่วยงาน child2")
|
||||
.Annotation("MySql:CharSet", "utf8mb4");
|
||||
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "child3DnaId",
|
||||
table: "RetirementDeceaseds",
|
||||
type: "longtext",
|
||||
nullable: true,
|
||||
comment: "id หน่วยงาน child3")
|
||||
.Annotation("MySql:CharSet", "utf8mb4");
|
||||
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "child4DnaId",
|
||||
table: "RetirementDeceaseds",
|
||||
type: "longtext",
|
||||
nullable: true,
|
||||
comment: "id หน่วยงาน child4")
|
||||
.Annotation("MySql:CharSet", "utf8mb4");
|
||||
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "rootDnaId",
|
||||
table: "RetirementDeceaseds",
|
||||
type: "longtext",
|
||||
nullable: true,
|
||||
comment: "id หน่วยงาน root")
|
||||
.Annotation("MySql:CharSet", "utf8mb4");
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropColumn(
|
||||
name: "child1DnaOldId",
|
||||
table: "RetirementResigns");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "child2DnaOldId",
|
||||
table: "RetirementResigns");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "child3DnaOldId",
|
||||
table: "RetirementResigns");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "child4DnaOldId",
|
||||
table: "RetirementResigns");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "rootDnaOldId",
|
||||
table: "RetirementResigns");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "child1DnaOldId",
|
||||
table: "RetirementResignEmployees");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "child2DnaOldId",
|
||||
table: "RetirementResignEmployees");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "child3DnaOldId",
|
||||
table: "RetirementResignEmployees");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "child4DnaOldId",
|
||||
table: "RetirementResignEmployees");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "rootDnaOldId",
|
||||
table: "RetirementResignEmployees");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "child1DnaId",
|
||||
table: "RetirementProfiles");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "child2DnaId",
|
||||
table: "RetirementProfiles");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "child3DnaId",
|
||||
table: "RetirementProfiles");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "child4DnaId",
|
||||
table: "RetirementProfiles");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "rootDnaId",
|
||||
table: "RetirementProfiles");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "child1DnaOldId",
|
||||
table: "RetirementOuts");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "child2DnaOldId",
|
||||
table: "RetirementOuts");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "child3DnaOldId",
|
||||
table: "RetirementOuts");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "child4DnaOldId",
|
||||
table: "RetirementOuts");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "rootDnaOldId",
|
||||
table: "RetirementOuts");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "child1DnaId",
|
||||
table: "RetirementDeceaseds");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "child2DnaId",
|
||||
table: "RetirementDeceaseds");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "child3DnaId",
|
||||
table: "RetirementDeceaseds");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "child4DnaId",
|
||||
table: "RetirementDeceaseds");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "rootDnaId",
|
||||
table: "RetirementDeceaseds");
|
||||
}
|
||||
}
|
||||
}
|
||||
19880
BMA.EHR.Infrastructure/Migrations/20250205102008_update table placementProfile add dnaroot2.Designer.cs
generated
Normal file
19880
BMA.EHR.Infrastructure/Migrations/20250205102008_update table placementProfile add dnaroot2.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -0,0 +1,129 @@
|
|||
using System;
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace BMA.EHR.Infrastructure.Migrations
|
||||
{
|
||||
/// <inheritdoc />
|
||||
public partial class updatetableplacementProfileadddnaroot2 : Migration
|
||||
{
|
||||
/// <inheritdoc />
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.AddColumn<Guid>(
|
||||
name: "Child1DnaId",
|
||||
table: "InsigniaRequestProfiles",
|
||||
type: "char(36)",
|
||||
nullable: true,
|
||||
collation: "ascii_general_ci");
|
||||
|
||||
migrationBuilder.AddColumn<Guid>(
|
||||
name: "Child2DnaId",
|
||||
table: "InsigniaRequestProfiles",
|
||||
type: "char(36)",
|
||||
nullable: true,
|
||||
collation: "ascii_general_ci");
|
||||
|
||||
migrationBuilder.AddColumn<Guid>(
|
||||
name: "Child3DnaId",
|
||||
table: "InsigniaRequestProfiles",
|
||||
type: "char(36)",
|
||||
nullable: true,
|
||||
collation: "ascii_general_ci");
|
||||
|
||||
migrationBuilder.AddColumn<Guid>(
|
||||
name: "Child4DnaId",
|
||||
table: "InsigniaRequestProfiles",
|
||||
type: "char(36)",
|
||||
nullable: true,
|
||||
collation: "ascii_general_ci");
|
||||
|
||||
migrationBuilder.AddColumn<Guid>(
|
||||
name: "RootDnaId",
|
||||
table: "InsigniaRequestProfiles",
|
||||
type: "char(36)",
|
||||
nullable: true,
|
||||
collation: "ascii_general_ci");
|
||||
|
||||
migrationBuilder.AddColumn<Guid>(
|
||||
name: "Child1DnaId",
|
||||
table: "InsigniaNoteProfiles",
|
||||
type: "char(36)",
|
||||
nullable: true,
|
||||
collation: "ascii_general_ci");
|
||||
|
||||
migrationBuilder.AddColumn<Guid>(
|
||||
name: "Child2DnaId",
|
||||
table: "InsigniaNoteProfiles",
|
||||
type: "char(36)",
|
||||
nullable: true,
|
||||
collation: "ascii_general_ci");
|
||||
|
||||
migrationBuilder.AddColumn<Guid>(
|
||||
name: "Child3DnaId",
|
||||
table: "InsigniaNoteProfiles",
|
||||
type: "char(36)",
|
||||
nullable: true,
|
||||
collation: "ascii_general_ci");
|
||||
|
||||
migrationBuilder.AddColumn<Guid>(
|
||||
name: "Child4DnaId",
|
||||
table: "InsigniaNoteProfiles",
|
||||
type: "char(36)",
|
||||
nullable: true,
|
||||
collation: "ascii_general_ci");
|
||||
|
||||
migrationBuilder.AddColumn<Guid>(
|
||||
name: "RootDnaId",
|
||||
table: "InsigniaNoteProfiles",
|
||||
type: "char(36)",
|
||||
nullable: true,
|
||||
collation: "ascii_general_ci");
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropColumn(
|
||||
name: "Child1DnaId",
|
||||
table: "InsigniaRequestProfiles");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "Child2DnaId",
|
||||
table: "InsigniaRequestProfiles");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "Child3DnaId",
|
||||
table: "InsigniaRequestProfiles");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "Child4DnaId",
|
||||
table: "InsigniaRequestProfiles");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "RootDnaId",
|
||||
table: "InsigniaRequestProfiles");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "Child1DnaId",
|
||||
table: "InsigniaNoteProfiles");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "Child2DnaId",
|
||||
table: "InsigniaNoteProfiles");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "Child3DnaId",
|
||||
table: "InsigniaNoteProfiles");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "Child4DnaId",
|
||||
table: "InsigniaNoteProfiles");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "RootDnaId",
|
||||
table: "InsigniaNoteProfiles");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -6082,24 +6082,36 @@ namespace BMA.EHR.Infrastructure.Migrations
|
|||
b.Property<string>("Child1")
|
||||
.HasColumnType("longtext");
|
||||
|
||||
b.Property<Guid?>("Child1DnaId")
|
||||
.HasColumnType("char(36)");
|
||||
|
||||
b.Property<Guid?>("Child1Id")
|
||||
.HasColumnType("char(36)");
|
||||
|
||||
b.Property<string>("Child2")
|
||||
.HasColumnType("longtext");
|
||||
|
||||
b.Property<Guid?>("Child2DnaId")
|
||||
.HasColumnType("char(36)");
|
||||
|
||||
b.Property<Guid?>("Child2Id")
|
||||
.HasColumnType("char(36)");
|
||||
|
||||
b.Property<string>("Child3")
|
||||
.HasColumnType("longtext");
|
||||
|
||||
b.Property<Guid?>("Child3DnaId")
|
||||
.HasColumnType("char(36)");
|
||||
|
||||
b.Property<Guid?>("Child3Id")
|
||||
.HasColumnType("char(36)");
|
||||
|
||||
b.Property<string>("Child4")
|
||||
.HasColumnType("longtext");
|
||||
|
||||
b.Property<Guid?>("Child4DnaId")
|
||||
.HasColumnType("char(36)");
|
||||
|
||||
b.Property<Guid?>("Child4Id")
|
||||
.HasColumnType("char(36)");
|
||||
|
||||
|
|
@ -6261,6 +6273,9 @@ namespace BMA.EHR.Infrastructure.Migrations
|
|||
b.Property<string>("Root")
|
||||
.HasColumnType("longtext");
|
||||
|
||||
b.Property<Guid?>("RootDnaId")
|
||||
.HasColumnType("char(36)");
|
||||
|
||||
b.Property<Guid?>("RootId")
|
||||
.HasColumnType("char(36)");
|
||||
|
||||
|
|
@ -6491,24 +6506,36 @@ namespace BMA.EHR.Infrastructure.Migrations
|
|||
b.Property<string>("Child1")
|
||||
.HasColumnType("longtext");
|
||||
|
||||
b.Property<Guid?>("Child1DnaId")
|
||||
.HasColumnType("char(36)");
|
||||
|
||||
b.Property<Guid?>("Child1Id")
|
||||
.HasColumnType("char(36)");
|
||||
|
||||
b.Property<string>("Child2")
|
||||
.HasColumnType("longtext");
|
||||
|
||||
b.Property<Guid?>("Child2DnaId")
|
||||
.HasColumnType("char(36)");
|
||||
|
||||
b.Property<Guid?>("Child2Id")
|
||||
.HasColumnType("char(36)");
|
||||
|
||||
b.Property<string>("Child3")
|
||||
.HasColumnType("longtext");
|
||||
|
||||
b.Property<Guid?>("Child3DnaId")
|
||||
.HasColumnType("char(36)");
|
||||
|
||||
b.Property<Guid?>("Child3Id")
|
||||
.HasColumnType("char(36)");
|
||||
|
||||
b.Property<string>("Child4")
|
||||
.HasColumnType("longtext");
|
||||
|
||||
b.Property<Guid?>("Child4DnaId")
|
||||
.HasColumnType("char(36)");
|
||||
|
||||
b.Property<Guid?>("Child4Id")
|
||||
.HasColumnType("char(36)");
|
||||
|
||||
|
|
@ -6631,6 +6658,9 @@ namespace BMA.EHR.Infrastructure.Migrations
|
|||
b.Property<string>("Root")
|
||||
.HasColumnType("longtext");
|
||||
|
||||
b.Property<Guid?>("RootDnaId")
|
||||
.HasColumnType("char(36)");
|
||||
|
||||
b.Property<Guid?>("RootId")
|
||||
.HasColumnType("char(36)");
|
||||
|
||||
|
|
@ -11440,6 +11470,10 @@ namespace BMA.EHR.Infrastructure.Migrations
|
|||
.HasColumnType("longtext")
|
||||
.HasComment("ชื่อหน่วยงาน child1");
|
||||
|
||||
b.Property<string>("child1DnaId")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("id หน่วยงาน child1Dna");
|
||||
|
||||
b.Property<string>("child1Id")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("id หน่วยงาน child1");
|
||||
|
|
@ -11464,6 +11498,10 @@ namespace BMA.EHR.Infrastructure.Migrations
|
|||
.HasColumnType("longtext")
|
||||
.HasComment("ชื่อหน่วยงาน child2");
|
||||
|
||||
b.Property<string>("child2DnaId")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("id หน่วยงาน child2Dna");
|
||||
|
||||
b.Property<string>("child2Id")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("id หน่วยงาน child2");
|
||||
|
|
@ -11488,6 +11526,10 @@ namespace BMA.EHR.Infrastructure.Migrations
|
|||
.HasColumnType("longtext")
|
||||
.HasComment("ชื่อหน่วยงาน child3");
|
||||
|
||||
b.Property<string>("child3DnaId")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("id หน่วยงาน child3Dna");
|
||||
|
||||
b.Property<string>("child3Id")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("id หน่วยงาน child3");
|
||||
|
|
@ -11512,6 +11554,10 @@ namespace BMA.EHR.Infrastructure.Migrations
|
|||
.HasColumnType("longtext")
|
||||
.HasComment("ชื่อหน่วยงาน child4");
|
||||
|
||||
b.Property<string>("child4DnaId")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("id หน่วยงาน child4Dna");
|
||||
|
||||
b.Property<string>("child4Id")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("id หน่วยงาน child4");
|
||||
|
|
@ -11628,6 +11674,10 @@ namespace BMA.EHR.Infrastructure.Migrations
|
|||
.HasColumnType("longtext")
|
||||
.HasComment("ชื่อหน่วยงาน root");
|
||||
|
||||
b.Property<string>("rootDnaId")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("id หน่วยงาน rootDna");
|
||||
|
||||
b.Property<string>("rootId")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("id หน่วยงาน root");
|
||||
|
|
@ -11770,6 +11820,22 @@ namespace BMA.EHR.Infrastructure.Migrations
|
|||
.HasColumnOrder(102)
|
||||
.HasComment("แก้ไขข้อมูลล่าสุดเมื่อ");
|
||||
|
||||
b.Property<string>("child1DnaId")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("id หน่วยงาน child1Dna");
|
||||
|
||||
b.Property<string>("child2DnaId")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("id หน่วยงาน child2Dna");
|
||||
|
||||
b.Property<string>("child3DnaId")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("id หน่วยงาน child3Dna");
|
||||
|
||||
b.Property<string>("child4DnaId")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("id หน่วยงาน child4Dna");
|
||||
|
||||
b.Property<string>("citizenId")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("เลขบัตรประชาชน");
|
||||
|
|
@ -11794,6 +11860,10 @@ namespace BMA.EHR.Infrastructure.Migrations
|
|||
.HasColumnType("longtext")
|
||||
.HasComment("ชื่อหน่วยงาน root");
|
||||
|
||||
b.Property<string>("rootDnaId")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("id DNA ใช้ในกรณีที่มีการทำสำเนาโครงสร้าง โครงสร้างใหม่ที่ทำสำเนากับโครงสร้างเก่าจะต้องมี DNA เดียวกัน เพื่อให้ track ประวัติการแก้ไขโครงสร้างย้อนหลังได้");
|
||||
|
||||
b.Property<string>("rootId")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("id หน่วยงาน root");
|
||||
|
|
@ -12182,6 +12252,10 @@ namespace BMA.EHR.Infrastructure.Migrations
|
|||
.HasColumnType("longtext")
|
||||
.HasComment("สถานะคำขอ");
|
||||
|
||||
b.Property<string>("child1DnaOldId")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("id หน่วยงาน child1Dna old");
|
||||
|
||||
b.Property<string>("child1Old")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("ชื่อหน่วยงาน child1 old");
|
||||
|
|
@ -12194,6 +12268,10 @@ namespace BMA.EHR.Infrastructure.Migrations
|
|||
.HasColumnType("longtext")
|
||||
.HasComment("ชื่อย่อหน่วยงาน child1 old");
|
||||
|
||||
b.Property<string>("child2DnaOldId")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("id หน่วยงาน child2Dna old");
|
||||
|
||||
b.Property<string>("child2Old")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("ชื่อหน่วยงาน child2 old");
|
||||
|
|
@ -12206,6 +12284,10 @@ namespace BMA.EHR.Infrastructure.Migrations
|
|||
.HasColumnType("longtext")
|
||||
.HasComment("ชื่อย่อหน่วยงาน child2 old");
|
||||
|
||||
b.Property<string>("child3DnaOldId")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("id หน่วยงาน child3Dna old");
|
||||
|
||||
b.Property<string>("child3Old")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("ชื่อหน่วยงาน child3 old");
|
||||
|
|
@ -12218,6 +12300,10 @@ namespace BMA.EHR.Infrastructure.Migrations
|
|||
.HasColumnType("longtext")
|
||||
.HasComment("ชื่อย่อหน่วยงาน child3 old");
|
||||
|
||||
b.Property<string>("child4DnaOldId")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("id หน่วยงาน child4Dna old");
|
||||
|
||||
b.Property<string>("child4Old")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("ชื่อหน่วยงาน child4 old");
|
||||
|
|
@ -12274,6 +12360,10 @@ namespace BMA.EHR.Infrastructure.Migrations
|
|||
.HasColumnType("longtext")
|
||||
.HasComment("profile Id");
|
||||
|
||||
b.Property<string>("rootDnaOldId")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("id หน่วยงาน rootDna old");
|
||||
|
||||
b.Property<string>("rootOld")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("ชื่อหน่วยงาน root old");
|
||||
|
|
@ -12710,6 +12800,10 @@ namespace BMA.EHR.Infrastructure.Migrations
|
|||
.HasColumnType("longtext")
|
||||
.HasComment("ชื่อหน่วยงาน child1");
|
||||
|
||||
b.Property<string>("child1DnaId")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("id หน่วยงาน child1Dna");
|
||||
|
||||
b.Property<string>("child1Id")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("id หน่วยงาน child1");
|
||||
|
|
@ -12734,6 +12828,10 @@ namespace BMA.EHR.Infrastructure.Migrations
|
|||
.HasColumnType("longtext")
|
||||
.HasComment("ชื่อหน่วยงาน child2");
|
||||
|
||||
b.Property<string>("child2DnaId")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("id หน่วยงาน child2Dna");
|
||||
|
||||
b.Property<string>("child2Id")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("id หน่วยงาน child2");
|
||||
|
|
@ -12758,6 +12856,10 @@ namespace BMA.EHR.Infrastructure.Migrations
|
|||
.HasColumnType("longtext")
|
||||
.HasComment("ชื่อหน่วยงาน child3");
|
||||
|
||||
b.Property<string>("child3DnaId")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("id หน่วยงาน child3Dna");
|
||||
|
||||
b.Property<string>("child3Id")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("id หน่วยงาน child3");
|
||||
|
|
@ -12782,6 +12884,10 @@ namespace BMA.EHR.Infrastructure.Migrations
|
|||
.HasColumnType("longtext")
|
||||
.HasComment("ชื่อหน่วยงาน child4");
|
||||
|
||||
b.Property<string>("child4DnaId")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("id หน่วยงาน child4Dna");
|
||||
|
||||
b.Property<string>("child4Id")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("id หน่วยงาน child4");
|
||||
|
|
@ -12939,6 +13045,10 @@ namespace BMA.EHR.Infrastructure.Migrations
|
|||
.HasColumnType("longtext")
|
||||
.HasComment("ชื่อหน่วยงาน root");
|
||||
|
||||
b.Property<string>("rootDnaId")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("id หน่วยงาน rootDna");
|
||||
|
||||
b.Property<string>("rootId")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("id หน่วยงาน root");
|
||||
|
|
@ -13184,6 +13294,10 @@ namespace BMA.EHR.Infrastructure.Migrations
|
|||
.HasColumnType("longtext")
|
||||
.HasComment("ชื่อหน่วยงาน child1");
|
||||
|
||||
b.Property<string>("child1DnaId")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("id หน่วยงาน child1Dna");
|
||||
|
||||
b.Property<string>("child1Id")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("id หน่วยงาน child1");
|
||||
|
|
@ -13208,6 +13322,10 @@ namespace BMA.EHR.Infrastructure.Migrations
|
|||
.HasColumnType("longtext")
|
||||
.HasComment("ชื่อหน่วยงาน child2");
|
||||
|
||||
b.Property<string>("child2DnaId")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("id หน่วยงาน child2Dna");
|
||||
|
||||
b.Property<string>("child2Id")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("id หน่วยงาน child2");
|
||||
|
|
@ -13232,6 +13350,10 @@ namespace BMA.EHR.Infrastructure.Migrations
|
|||
.HasColumnType("longtext")
|
||||
.HasComment("ชื่อหน่วยงาน child3");
|
||||
|
||||
b.Property<string>("child3DnaId")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("id หน่วยงาน child3Dna");
|
||||
|
||||
b.Property<string>("child3Id")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("id หน่วยงาน child3");
|
||||
|
|
@ -13256,6 +13378,10 @@ namespace BMA.EHR.Infrastructure.Migrations
|
|||
.HasColumnType("longtext")
|
||||
.HasComment("ชื่อหน่วยงาน child4");
|
||||
|
||||
b.Property<string>("child4DnaId")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("id หน่วยงาน child4Dna");
|
||||
|
||||
b.Property<string>("child4Id")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("id หน่วยงาน child4");
|
||||
|
|
@ -13368,6 +13494,10 @@ namespace BMA.EHR.Infrastructure.Migrations
|
|||
.HasColumnType("longtext")
|
||||
.HasComment("ชื่อหน่วยงาน root");
|
||||
|
||||
b.Property<string>("rootDnaId")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("id หน่วยงาน rootDna");
|
||||
|
||||
b.Property<string>("rootId")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("id หน่วยงาน root");
|
||||
|
|
@ -13817,6 +13947,10 @@ namespace BMA.EHR.Infrastructure.Migrations
|
|||
.HasColumnType("longtext")
|
||||
.HasComment("สถานะคำขอ");
|
||||
|
||||
b.Property<string>("child1DnaOldId")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("id หน่วยงาน child1Dna old");
|
||||
|
||||
b.Property<string>("child1Old")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("ชื่อหน่วยงาน child1 old");
|
||||
|
|
@ -13829,6 +13963,10 @@ namespace BMA.EHR.Infrastructure.Migrations
|
|||
.HasColumnType("longtext")
|
||||
.HasComment("ชื่อย่อหน่วยงาน child1 old");
|
||||
|
||||
b.Property<string>("child2DnaOldId")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("id หน่วยงาน child2Dna old");
|
||||
|
||||
b.Property<string>("child2Old")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("ชื่อหน่วยงาน child2 old");
|
||||
|
|
@ -13841,6 +13979,10 @@ namespace BMA.EHR.Infrastructure.Migrations
|
|||
.HasColumnType("longtext")
|
||||
.HasComment("ชื่อย่อหน่วยงาน child2 old");
|
||||
|
||||
b.Property<string>("child3DnaOldId")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("id หน่วยงาน child3Dna old");
|
||||
|
||||
b.Property<string>("child3Old")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("ชื่อหน่วยงาน child3 old");
|
||||
|
|
@ -13853,6 +13995,10 @@ namespace BMA.EHR.Infrastructure.Migrations
|
|||
.HasColumnType("longtext")
|
||||
.HasComment("ชื่อย่อหน่วยงาน child3 old");
|
||||
|
||||
b.Property<string>("child4DnaOldId")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("id หน่วยงาน child4Dna old");
|
||||
|
||||
b.Property<string>("child4Old")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("ชื่อหน่วยงาน child4 old");
|
||||
|
|
@ -13905,6 +14051,10 @@ namespace BMA.EHR.Infrastructure.Migrations
|
|||
.HasColumnType("longtext")
|
||||
.HasComment("profile Id");
|
||||
|
||||
b.Property<string>("rootDnaOldId")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("id หน่วยงาน rootDna old");
|
||||
|
||||
b.Property<string>("rootOld")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("ชื่อหน่วยงาน root old");
|
||||
|
|
@ -14018,6 +14168,10 @@ namespace BMA.EHR.Infrastructure.Migrations
|
|||
.HasColumnType("longtext")
|
||||
.HasComment("สถานะคำขอ");
|
||||
|
||||
b.Property<string>("child1DnaOldId")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("id หน่วยงาน child1Dna old");
|
||||
|
||||
b.Property<string>("child1Old")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("ชื่อหน่วยงาน child1 old");
|
||||
|
|
@ -14030,6 +14184,10 @@ namespace BMA.EHR.Infrastructure.Migrations
|
|||
.HasColumnType("longtext")
|
||||
.HasComment("ชื่อย่อหน่วยงาน child1 old");
|
||||
|
||||
b.Property<string>("child2DnaOldId")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("id หน่วยงาน child2Dna old");
|
||||
|
||||
b.Property<string>("child2Old")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("ชื่อหน่วยงาน child2 old");
|
||||
|
|
@ -14042,6 +14200,10 @@ namespace BMA.EHR.Infrastructure.Migrations
|
|||
.HasColumnType("longtext")
|
||||
.HasComment("ชื่อย่อหน่วยงาน child2 old");
|
||||
|
||||
b.Property<string>("child3DnaOldId")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("id หน่วยงาน child3Dna old");
|
||||
|
||||
b.Property<string>("child3Old")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("ชื่อหน่วยงาน child3 old");
|
||||
|
|
@ -14054,6 +14216,10 @@ namespace BMA.EHR.Infrastructure.Migrations
|
|||
.HasColumnType("longtext")
|
||||
.HasComment("ชื่อย่อหน่วยงาน child3 old");
|
||||
|
||||
b.Property<string>("child4DnaOldId")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("id หน่วยงาน child4Dna old");
|
||||
|
||||
b.Property<string>("child4Old")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("ชื่อหน่วยงาน child4 old");
|
||||
|
|
@ -14106,6 +14272,10 @@ namespace BMA.EHR.Infrastructure.Migrations
|
|||
.HasColumnType("longtext")
|
||||
.HasComment("profile Id");
|
||||
|
||||
b.Property<string>("rootDnaOldId")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("id หน่วยงาน rootDna old");
|
||||
|
||||
b.Property<string>("rootOld")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("ชื่อหน่วยงาน root old");
|
||||
|
|
@ -14411,6 +14581,10 @@ namespace BMA.EHR.Infrastructure.Migrations
|
|||
.HasColumnType("longtext")
|
||||
.HasComment("ชื่อหน่วยงาน child1");
|
||||
|
||||
b.Property<string>("child1DnaId")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("id หน่วยงาน child1");
|
||||
|
||||
b.Property<string>("child1Id")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("id หน่วยงาน child1");
|
||||
|
|
@ -14423,6 +14597,10 @@ namespace BMA.EHR.Infrastructure.Migrations
|
|||
.HasColumnType("longtext")
|
||||
.HasComment("ชื่อหน่วยงาน child2");
|
||||
|
||||
b.Property<string>("child2DnaId")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("id หน่วยงาน child2");
|
||||
|
||||
b.Property<string>("child2Id")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("id หน่วยงาน child2");
|
||||
|
|
@ -14435,6 +14613,10 @@ namespace BMA.EHR.Infrastructure.Migrations
|
|||
.HasColumnType("longtext")
|
||||
.HasComment("ชื่อหน่วยงาน child3");
|
||||
|
||||
b.Property<string>("child3DnaId")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("id หน่วยงาน child3");
|
||||
|
||||
b.Property<string>("child3Id")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("id หน่วยงาน child3");
|
||||
|
|
@ -14447,6 +14629,10 @@ namespace BMA.EHR.Infrastructure.Migrations
|
|||
.HasColumnType("longtext")
|
||||
.HasComment("ชื่อหน่วยงาน child4");
|
||||
|
||||
b.Property<string>("child4DnaId")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("id หน่วยงาน child4");
|
||||
|
||||
b.Property<string>("child4Id")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("id หน่วยงาน child4");
|
||||
|
|
@ -14507,6 +14693,10 @@ namespace BMA.EHR.Infrastructure.Migrations
|
|||
.HasColumnType("longtext")
|
||||
.HasComment("ชื่อหน่วยงาน root");
|
||||
|
||||
b.Property<string>("rootDnaId")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("id หน่วยงาน root");
|
||||
|
||||
b.Property<string>("rootId")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("id หน่วยงาน root");
|
||||
|
|
@ -14947,6 +15137,10 @@ namespace BMA.EHR.Infrastructure.Migrations
|
|||
.HasColumnType("longtext")
|
||||
.HasComment("สถานะคำขอ");
|
||||
|
||||
b.Property<string>("child1DnaOldId")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("id หน่วยงาน child1Dna old");
|
||||
|
||||
b.Property<string>("child1Old")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("ชื่อหน่วยงาน child1 old");
|
||||
|
|
@ -14959,6 +15153,10 @@ namespace BMA.EHR.Infrastructure.Migrations
|
|||
.HasColumnType("longtext")
|
||||
.HasComment("ชื่อย่อหน่วยงาน child1 old");
|
||||
|
||||
b.Property<string>("child2DnaOldId")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("id หน่วยงาน child2Dna old");
|
||||
|
||||
b.Property<string>("child2Old")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("ชื่อหน่วยงาน child2 old");
|
||||
|
|
@ -14971,6 +15169,10 @@ namespace BMA.EHR.Infrastructure.Migrations
|
|||
.HasColumnType("longtext")
|
||||
.HasComment("ชื่อย่อหน่วยงาน child2 old");
|
||||
|
||||
b.Property<string>("child3DnaOldId")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("id หน่วยงาน child3Dna old");
|
||||
|
||||
b.Property<string>("child3Old")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("ชื่อหน่วยงาน child3 old");
|
||||
|
|
@ -14983,6 +15185,10 @@ namespace BMA.EHR.Infrastructure.Migrations
|
|||
.HasColumnType("longtext")
|
||||
.HasComment("ชื่อย่อหน่วยงาน child3 old");
|
||||
|
||||
b.Property<string>("child4DnaOldId")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("id หน่วยงาน child4Dna old");
|
||||
|
||||
b.Property<string>("child4Old")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("ชื่อหน่วยงาน child4 old");
|
||||
|
|
@ -15035,6 +15241,10 @@ namespace BMA.EHR.Infrastructure.Migrations
|
|||
.HasColumnType("longtext")
|
||||
.HasComment("profile Id");
|
||||
|
||||
b.Property<string>("rootDnaOldId")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("id หน่วยงาน rootDna old");
|
||||
|
||||
b.Property<string>("rootOld")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("ชื่อหน่วยงาน root old");
|
||||
|
|
@ -15212,6 +15422,10 @@ namespace BMA.EHR.Infrastructure.Migrations
|
|||
.HasColumnType("longtext")
|
||||
.HasComment("สถานะคำขอ");
|
||||
|
||||
b.Property<string>("child1DnaOldId")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("id หน่วยงาน child1 old");
|
||||
|
||||
b.Property<string>("child1Old")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("ชื่อหน่วยงาน child1 old");
|
||||
|
|
@ -15224,6 +15438,10 @@ namespace BMA.EHR.Infrastructure.Migrations
|
|||
.HasColumnType("longtext")
|
||||
.HasComment("ชื่อย่อหน่วยงาน child1 old");
|
||||
|
||||
b.Property<string>("child2DnaOldId")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("id หน่วยงาน child2 old");
|
||||
|
||||
b.Property<string>("child2Old")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("ชื่อหน่วยงาน child2 old");
|
||||
|
|
@ -15236,6 +15454,10 @@ namespace BMA.EHR.Infrastructure.Migrations
|
|||
.HasColumnType("longtext")
|
||||
.HasComment("ชื่อย่อหน่วยงาน child2 old");
|
||||
|
||||
b.Property<string>("child3DnaOldId")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("id หน่วยงาน child3 old");
|
||||
|
||||
b.Property<string>("child3Old")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("ชื่อหน่วยงาน child3 old");
|
||||
|
|
@ -15248,6 +15470,10 @@ namespace BMA.EHR.Infrastructure.Migrations
|
|||
.HasColumnType("longtext")
|
||||
.HasComment("ชื่อย่อหน่วยงาน child3 old");
|
||||
|
||||
b.Property<string>("child4DnaOldId")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("id หน่วยงาน child4 old");
|
||||
|
||||
b.Property<string>("child4Old")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("ชื่อหน่วยงาน child4 old");
|
||||
|
|
@ -15304,6 +15530,9 @@ namespace BMA.EHR.Infrastructure.Migrations
|
|||
.HasColumnType("longtext")
|
||||
.HasComment("สถานภาพ (OFFICER->ข้าราชการ EMPLOYEE->ลูกจ้างประจำ)");
|
||||
|
||||
b.Property<string>("rootDnaOldId")
|
||||
.HasColumnType("longtext");
|
||||
|
||||
b.Property<string>("rootOld")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("ชื่อหน่วยงาน root old");
|
||||
|
|
@ -15569,6 +15798,10 @@ namespace BMA.EHR.Infrastructure.Migrations
|
|||
.HasColumnType("longtext")
|
||||
.HasComment("ชื่อหน่วยงาน child1 ");
|
||||
|
||||
b.Property<string>("child1DnaId")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("id หน่วยงาน child1 ");
|
||||
|
||||
b.Property<string>("child1Id")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("id หน่วยงาน child1 ");
|
||||
|
|
@ -15581,6 +15814,10 @@ namespace BMA.EHR.Infrastructure.Migrations
|
|||
.HasColumnType("longtext")
|
||||
.HasComment("ชื่อหน่วยงาน child2 ");
|
||||
|
||||
b.Property<string>("child2DnaId")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("id หน่วยงาน child2 ");
|
||||
|
||||
b.Property<string>("child2Id")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("id หน่วยงาน child2 ");
|
||||
|
|
@ -15593,6 +15830,10 @@ namespace BMA.EHR.Infrastructure.Migrations
|
|||
.HasColumnType("longtext")
|
||||
.HasComment("ชื่อหน่วยงาน child3 ");
|
||||
|
||||
b.Property<string>("child3DnaId")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("id หน่วยงาน child3 ");
|
||||
|
||||
b.Property<string>("child3Id")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("id หน่วยงาน child3 ");
|
||||
|
|
@ -15605,6 +15846,10 @@ namespace BMA.EHR.Infrastructure.Migrations
|
|||
.HasColumnType("longtext")
|
||||
.HasComment("ชื่อหน่วยงาน child4 ");
|
||||
|
||||
b.Property<string>("child4DnaId")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("id หน่วยงาน child4 ");
|
||||
|
||||
b.Property<string>("child4Id")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("id หน่วยงาน child4 ");
|
||||
|
|
@ -15681,6 +15926,10 @@ namespace BMA.EHR.Infrastructure.Migrations
|
|||
.HasColumnType("longtext")
|
||||
.HasComment("ชื่อหน่วยงาน root ");
|
||||
|
||||
b.Property<string>("rootDnaId")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("id หน่วยงาน root ");
|
||||
|
||||
b.Property<string>("rootId")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("id หน่วยงาน root ");
|
||||
|
|
@ -16423,6 +16672,10 @@ namespace BMA.EHR.Infrastructure.Migrations
|
|||
.HasColumnType("longtext")
|
||||
.HasComment("สถานะลาออก");
|
||||
|
||||
b.Property<string>("child1DnaOldId")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("id หน่วยงาน child1 old");
|
||||
|
||||
b.Property<string>("child1Old")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("ชื่อหน่วยงาน child1 old");
|
||||
|
|
@ -16435,6 +16688,10 @@ namespace BMA.EHR.Infrastructure.Migrations
|
|||
.HasColumnType("longtext")
|
||||
.HasComment("ชื่อย่อหน่วยงาน child1 old");
|
||||
|
||||
b.Property<string>("child2DnaOldId")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("id หน่วยงาน child2 old");
|
||||
|
||||
b.Property<string>("child2Old")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("ชื่อหน่วยงาน child2 old");
|
||||
|
|
@ -16447,6 +16704,10 @@ namespace BMA.EHR.Infrastructure.Migrations
|
|||
.HasColumnType("longtext")
|
||||
.HasComment("ชื่อย่อหน่วยงาน child2 old");
|
||||
|
||||
b.Property<string>("child3DnaOldId")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("id หน่วยงาน child3 old");
|
||||
|
||||
b.Property<string>("child3Old")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("ชื่อหน่วยงาน child3 old");
|
||||
|
|
@ -16459,6 +16720,10 @@ namespace BMA.EHR.Infrastructure.Migrations
|
|||
.HasColumnType("longtext")
|
||||
.HasComment("ชื่อย่อหน่วยงาน child3 old");
|
||||
|
||||
b.Property<string>("child4DnaOldId")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("id หน่วยงาน child4 old");
|
||||
|
||||
b.Property<string>("child4Old")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("ชื่อหน่วยงาน child4 old");
|
||||
|
|
@ -16511,6 +16776,10 @@ namespace BMA.EHR.Infrastructure.Migrations
|
|||
.HasColumnType("longtext")
|
||||
.HasComment("profile Id");
|
||||
|
||||
b.Property<string>("rootDnaOldId")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("id หน่วยงาน root old");
|
||||
|
||||
b.Property<string>("rootOld")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("ชื่อหน่วยงาน root old");
|
||||
|
|
@ -17128,6 +17397,10 @@ namespace BMA.EHR.Infrastructure.Migrations
|
|||
.HasColumnType("longtext")
|
||||
.HasComment("สถานะลาออก");
|
||||
|
||||
b.Property<string>("child1DnaOldId")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("id หน่วยงาน child1 old");
|
||||
|
||||
b.Property<string>("child1Old")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("ชื่อหน่วยงาน child1 old");
|
||||
|
|
@ -17140,6 +17413,10 @@ namespace BMA.EHR.Infrastructure.Migrations
|
|||
.HasColumnType("longtext")
|
||||
.HasComment("ชื่อย่อหน่วยงาน child1 old");
|
||||
|
||||
b.Property<string>("child2DnaOldId")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("id หน่วยงาน child2 old");
|
||||
|
||||
b.Property<string>("child2Old")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("ชื่อหน่วยงาน child2 old");
|
||||
|
|
@ -17152,6 +17429,10 @@ namespace BMA.EHR.Infrastructure.Migrations
|
|||
.HasColumnType("longtext")
|
||||
.HasComment("ชื่อย่อหน่วยงาน child2 old");
|
||||
|
||||
b.Property<string>("child3DnaOldId")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("id หน่วยงาน child3 old");
|
||||
|
||||
b.Property<string>("child3Old")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("ชื่อหน่วยงาน child3 old");
|
||||
|
|
@ -17164,6 +17445,10 @@ namespace BMA.EHR.Infrastructure.Migrations
|
|||
.HasColumnType("longtext")
|
||||
.HasComment("ชื่อย่อหน่วยงาน child3 old");
|
||||
|
||||
b.Property<string>("child4DnaOldId")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("id หน่วยงาน child4 old");
|
||||
|
||||
b.Property<string>("child4Old")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("ชื่อหน่วยงาน child4 old");
|
||||
|
|
@ -17216,6 +17501,10 @@ namespace BMA.EHR.Infrastructure.Migrations
|
|||
.HasColumnType("longtext")
|
||||
.HasComment("profile Id");
|
||||
|
||||
b.Property<string>("rootDnaOldId")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("id หน่วยงาน root old");
|
||||
|
||||
b.Property<string>("rootOld")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("ชื่อหน่วยงาน root old");
|
||||
|
|
|
|||
3459
BMA.EHR.Infrastructure/Migrations/DisciplineDb/20250205104627_update table disciplinecom add dna.Designer.cs
generated
Normal file
3459
BMA.EHR.Infrastructure/Migrations/DisciplineDb/20250205104627_update table disciplinecom add dna.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -0,0 +1,258 @@
|
|||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace BMA.EHR.Infrastructure.Migrations.DisciplineDb
|
||||
{
|
||||
/// <inheritdoc />
|
||||
public partial class updatetabledisciplinecomadddna : Migration
|
||||
{
|
||||
/// <inheritdoc />
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "child1DnaId",
|
||||
table: "DisciplineReport_Profiles",
|
||||
type: "longtext",
|
||||
nullable: true,
|
||||
comment: "id หน่วยงาน child1")
|
||||
.Annotation("MySql:CharSet", "utf8mb4");
|
||||
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "child2DnaId",
|
||||
table: "DisciplineReport_Profiles",
|
||||
type: "longtext",
|
||||
nullable: true,
|
||||
comment: "id หน่วยงาน child2")
|
||||
.Annotation("MySql:CharSet", "utf8mb4");
|
||||
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "child3DnaId",
|
||||
table: "DisciplineReport_Profiles",
|
||||
type: "longtext",
|
||||
nullable: true,
|
||||
comment: "id หน่วยงาน child3")
|
||||
.Annotation("MySql:CharSet", "utf8mb4");
|
||||
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "child4DnaId",
|
||||
table: "DisciplineReport_Profiles",
|
||||
type: "longtext",
|
||||
nullable: true,
|
||||
comment: "id หน่วยงาน child4")
|
||||
.Annotation("MySql:CharSet", "utf8mb4");
|
||||
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "rootDnaId",
|
||||
table: "DisciplineReport_Profiles",
|
||||
type: "longtext",
|
||||
nullable: true,
|
||||
comment: "id หน่วยงาน root")
|
||||
.Annotation("MySql:CharSet", "utf8mb4");
|
||||
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "child1DnaId",
|
||||
table: "DisciplineInvestigate_ProfileComplaints",
|
||||
type: "longtext",
|
||||
nullable: true,
|
||||
comment: "id หน่วยงาน child1")
|
||||
.Annotation("MySql:CharSet", "utf8mb4");
|
||||
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "child2DnaId",
|
||||
table: "DisciplineInvestigate_ProfileComplaints",
|
||||
type: "longtext",
|
||||
nullable: true,
|
||||
comment: "id หน่วยงาน child2")
|
||||
.Annotation("MySql:CharSet", "utf8mb4");
|
||||
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "child3DnaId",
|
||||
table: "DisciplineInvestigate_ProfileComplaints",
|
||||
type: "longtext",
|
||||
nullable: true,
|
||||
comment: "id หน่วยงาน child3")
|
||||
.Annotation("MySql:CharSet", "utf8mb4");
|
||||
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "child4DnaId",
|
||||
table: "DisciplineInvestigate_ProfileComplaints",
|
||||
type: "longtext",
|
||||
nullable: true,
|
||||
comment: "id หน่วยงาน child4")
|
||||
.Annotation("MySql:CharSet", "utf8mb4");
|
||||
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "rootDnaId",
|
||||
table: "DisciplineInvestigate_ProfileComplaints",
|
||||
type: "longtext",
|
||||
nullable: true,
|
||||
comment: "id หน่วยงาน root")
|
||||
.Annotation("MySql:CharSet", "utf8mb4");
|
||||
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "child1DnaId",
|
||||
table: "DisciplineDisciplinary_ProfileComplaintInvestigates",
|
||||
type: "longtext",
|
||||
nullable: true,
|
||||
comment: "id หน่วยงาน child1")
|
||||
.Annotation("MySql:CharSet", "utf8mb4");
|
||||
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "child2DnaId",
|
||||
table: "DisciplineDisciplinary_ProfileComplaintInvestigates",
|
||||
type: "longtext",
|
||||
nullable: true,
|
||||
comment: "id หน่วยงาน child2")
|
||||
.Annotation("MySql:CharSet", "utf8mb4");
|
||||
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "child3DnaId",
|
||||
table: "DisciplineDisciplinary_ProfileComplaintInvestigates",
|
||||
type: "longtext",
|
||||
nullable: true,
|
||||
comment: "id หน่วยงาน child3")
|
||||
.Annotation("MySql:CharSet", "utf8mb4");
|
||||
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "child4DnaId",
|
||||
table: "DisciplineDisciplinary_ProfileComplaintInvestigates",
|
||||
type: "longtext",
|
||||
nullable: true,
|
||||
comment: "id หน่วยงาน child4")
|
||||
.Annotation("MySql:CharSet", "utf8mb4");
|
||||
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "rootDnaId",
|
||||
table: "DisciplineDisciplinary_ProfileComplaintInvestigates",
|
||||
type: "longtext",
|
||||
nullable: true,
|
||||
comment: "id หน่วยงาน root")
|
||||
.Annotation("MySql:CharSet", "utf8mb4");
|
||||
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "child1DnaId",
|
||||
table: "DisciplineComplaint_Profiles",
|
||||
type: "longtext",
|
||||
nullable: true,
|
||||
comment: "id หน่วยงาน child1")
|
||||
.Annotation("MySql:CharSet", "utf8mb4");
|
||||
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "child2DnaId",
|
||||
table: "DisciplineComplaint_Profiles",
|
||||
type: "longtext",
|
||||
nullable: true,
|
||||
comment: "id หน่วยงาน child2")
|
||||
.Annotation("MySql:CharSet", "utf8mb4");
|
||||
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "child3DnaId",
|
||||
table: "DisciplineComplaint_Profiles",
|
||||
type: "longtext",
|
||||
nullable: true,
|
||||
comment: "id หน่วยงาน child3")
|
||||
.Annotation("MySql:CharSet", "utf8mb4");
|
||||
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "child4DnaId",
|
||||
table: "DisciplineComplaint_Profiles",
|
||||
type: "longtext",
|
||||
nullable: true,
|
||||
comment: "id หน่วยงาน child4")
|
||||
.Annotation("MySql:CharSet", "utf8mb4");
|
||||
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "rootDnaId",
|
||||
table: "DisciplineComplaint_Profiles",
|
||||
type: "longtext",
|
||||
nullable: true,
|
||||
comment: "id หน่วยงาน root")
|
||||
.Annotation("MySql:CharSet", "utf8mb4");
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropColumn(
|
||||
name: "child1DnaId",
|
||||
table: "DisciplineReport_Profiles");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "child2DnaId",
|
||||
table: "DisciplineReport_Profiles");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "child3DnaId",
|
||||
table: "DisciplineReport_Profiles");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "child4DnaId",
|
||||
table: "DisciplineReport_Profiles");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "rootDnaId",
|
||||
table: "DisciplineReport_Profiles");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "child1DnaId",
|
||||
table: "DisciplineInvestigate_ProfileComplaints");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "child2DnaId",
|
||||
table: "DisciplineInvestigate_ProfileComplaints");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "child3DnaId",
|
||||
table: "DisciplineInvestigate_ProfileComplaints");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "child4DnaId",
|
||||
table: "DisciplineInvestigate_ProfileComplaints");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "rootDnaId",
|
||||
table: "DisciplineInvestigate_ProfileComplaints");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "child1DnaId",
|
||||
table: "DisciplineDisciplinary_ProfileComplaintInvestigates");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "child2DnaId",
|
||||
table: "DisciplineDisciplinary_ProfileComplaintInvestigates");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "child3DnaId",
|
||||
table: "DisciplineDisciplinary_ProfileComplaintInvestigates");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "child4DnaId",
|
||||
table: "DisciplineDisciplinary_ProfileComplaintInvestigates");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "rootDnaId",
|
||||
table: "DisciplineDisciplinary_ProfileComplaintInvestigates");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "child1DnaId",
|
||||
table: "DisciplineComplaint_Profiles");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "child2DnaId",
|
||||
table: "DisciplineComplaint_Profiles");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "child3DnaId",
|
||||
table: "DisciplineComplaint_Profiles");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "child4DnaId",
|
||||
table: "DisciplineComplaint_Profiles");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "rootDnaId",
|
||||
table: "DisciplineComplaint_Profiles");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -592,6 +592,10 @@ namespace BMA.EHR.Infrastructure.Migrations.DisciplineDb
|
|||
.HasColumnType("longtext")
|
||||
.HasComment("ชื่อหน่วยงาน child1");
|
||||
|
||||
b.Property<string>("child1DnaId")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("id หน่วยงาน child1");
|
||||
|
||||
b.Property<string>("child1Id")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("id หน่วยงาน child1");
|
||||
|
|
@ -604,6 +608,10 @@ namespace BMA.EHR.Infrastructure.Migrations.DisciplineDb
|
|||
.HasColumnType("longtext")
|
||||
.HasComment("ชื่อหน่วยงาน child2");
|
||||
|
||||
b.Property<string>("child2DnaId")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("id หน่วยงาน child2");
|
||||
|
||||
b.Property<string>("child2Id")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("id หน่วยงาน child2");
|
||||
|
|
@ -616,6 +624,10 @@ namespace BMA.EHR.Infrastructure.Migrations.DisciplineDb
|
|||
.HasColumnType("longtext")
|
||||
.HasComment("ชื่อหน่วยงาน child3");
|
||||
|
||||
b.Property<string>("child3DnaId")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("id หน่วยงาน child3");
|
||||
|
||||
b.Property<string>("child3Id")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("id หน่วยงาน child3");
|
||||
|
|
@ -628,6 +640,10 @@ namespace BMA.EHR.Infrastructure.Migrations.DisciplineDb
|
|||
.HasColumnType("longtext")
|
||||
.HasComment("ชื่อหน่วยงาน child4");
|
||||
|
||||
b.Property<string>("child4DnaId")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("id หน่วยงาน child4");
|
||||
|
||||
b.Property<string>("child4Id")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("id หน่วยงาน child4");
|
||||
|
|
@ -664,6 +680,10 @@ namespace BMA.EHR.Infrastructure.Migrations.DisciplineDb
|
|||
.HasColumnType("longtext")
|
||||
.HasComment("ชื่อหน่วยงาน root");
|
||||
|
||||
b.Property<string>("rootDnaId")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("id หน่วยงาน root");
|
||||
|
||||
b.Property<string>("rootId")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("id หน่วยงาน root");
|
||||
|
|
@ -1859,6 +1879,10 @@ namespace BMA.EHR.Infrastructure.Migrations.DisciplineDb
|
|||
.HasColumnType("longtext")
|
||||
.HasComment("ชื่อหน่วยงาน child1");
|
||||
|
||||
b.Property<string>("child1DnaId")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("id หน่วยงาน child1");
|
||||
|
||||
b.Property<string>("child1Id")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("id หน่วยงาน child1");
|
||||
|
|
@ -1871,6 +1895,10 @@ namespace BMA.EHR.Infrastructure.Migrations.DisciplineDb
|
|||
.HasColumnType("longtext")
|
||||
.HasComment("ชื่อหน่วยงาน child2");
|
||||
|
||||
b.Property<string>("child2DnaId")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("id หน่วยงาน child2");
|
||||
|
||||
b.Property<string>("child2Id")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("id หน่วยงาน child2");
|
||||
|
|
@ -1883,6 +1911,10 @@ namespace BMA.EHR.Infrastructure.Migrations.DisciplineDb
|
|||
.HasColumnType("longtext")
|
||||
.HasComment("ชื่อหน่วยงาน child3");
|
||||
|
||||
b.Property<string>("child3DnaId")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("id หน่วยงาน child3");
|
||||
|
||||
b.Property<string>("child3Id")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("id หน่วยงาน child3");
|
||||
|
|
@ -1895,6 +1927,10 @@ namespace BMA.EHR.Infrastructure.Migrations.DisciplineDb
|
|||
.HasColumnType("longtext")
|
||||
.HasComment("ชื่อหน่วยงาน child4");
|
||||
|
||||
b.Property<string>("child4DnaId")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("id หน่วยงาน child4");
|
||||
|
||||
b.Property<string>("child4Id")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("id หน่วยงาน child4");
|
||||
|
|
@ -1931,6 +1967,10 @@ namespace BMA.EHR.Infrastructure.Migrations.DisciplineDb
|
|||
.HasColumnType("longtext")
|
||||
.HasComment("ชื่อหน่วยงาน root");
|
||||
|
||||
b.Property<string>("rootDnaId")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("id หน่วยงาน root");
|
||||
|
||||
b.Property<string>("rootId")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("id หน่วยงาน root");
|
||||
|
|
@ -2554,6 +2594,10 @@ namespace BMA.EHR.Infrastructure.Migrations.DisciplineDb
|
|||
.HasColumnType("longtext")
|
||||
.HasComment("ชื่อหน่วยงาน child1");
|
||||
|
||||
b.Property<string>("child1DnaId")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("id หน่วยงาน child1");
|
||||
|
||||
b.Property<string>("child1Id")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("id หน่วยงาน child1");
|
||||
|
|
@ -2566,6 +2610,10 @@ namespace BMA.EHR.Infrastructure.Migrations.DisciplineDb
|
|||
.HasColumnType("longtext")
|
||||
.HasComment("ชื่อหน่วยงาน child2");
|
||||
|
||||
b.Property<string>("child2DnaId")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("id หน่วยงาน child2");
|
||||
|
||||
b.Property<string>("child2Id")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("id หน่วยงาน child2");
|
||||
|
|
@ -2578,6 +2626,10 @@ namespace BMA.EHR.Infrastructure.Migrations.DisciplineDb
|
|||
.HasColumnType("longtext")
|
||||
.HasComment("ชื่อหน่วยงาน child3");
|
||||
|
||||
b.Property<string>("child3DnaId")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("id หน่วยงาน child3");
|
||||
|
||||
b.Property<string>("child3Id")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("id หน่วยงาน child3");
|
||||
|
|
@ -2590,6 +2642,10 @@ namespace BMA.EHR.Infrastructure.Migrations.DisciplineDb
|
|||
.HasColumnType("longtext")
|
||||
.HasComment("ชื่อหน่วยงาน child4");
|
||||
|
||||
b.Property<string>("child4DnaId")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("id หน่วยงาน child4");
|
||||
|
||||
b.Property<string>("child4Id")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("id หน่วยงาน child4");
|
||||
|
|
@ -2626,6 +2682,10 @@ namespace BMA.EHR.Infrastructure.Migrations.DisciplineDb
|
|||
.HasColumnType("longtext")
|
||||
.HasComment("ชื่อหน่วยงาน root");
|
||||
|
||||
b.Property<string>("rootDnaId")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("id หน่วยงาน root");
|
||||
|
||||
b.Property<string>("rootId")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("id หน่วยงาน root");
|
||||
|
|
@ -2780,6 +2840,10 @@ namespace BMA.EHR.Infrastructure.Migrations.DisciplineDb
|
|||
.HasColumnType("longtext")
|
||||
.HasComment("ชื่อหน่วยงาน child1");
|
||||
|
||||
b.Property<string>("child1DnaId")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("id หน่วยงาน child1");
|
||||
|
||||
b.Property<string>("child1Id")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("id หน่วยงาน child1");
|
||||
|
|
@ -2792,6 +2856,10 @@ namespace BMA.EHR.Infrastructure.Migrations.DisciplineDb
|
|||
.HasColumnType("longtext")
|
||||
.HasComment("ชื่อหน่วยงาน child2");
|
||||
|
||||
b.Property<string>("child2DnaId")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("id หน่วยงาน child2");
|
||||
|
||||
b.Property<string>("child2Id")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("id หน่วยงาน child2");
|
||||
|
|
@ -2804,6 +2872,10 @@ namespace BMA.EHR.Infrastructure.Migrations.DisciplineDb
|
|||
.HasColumnType("longtext")
|
||||
.HasComment("ชื่อหน่วยงาน child3");
|
||||
|
||||
b.Property<string>("child3DnaId")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("id หน่วยงาน child3");
|
||||
|
||||
b.Property<string>("child3Id")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("id หน่วยงาน child3");
|
||||
|
|
@ -2816,6 +2888,10 @@ namespace BMA.EHR.Infrastructure.Migrations.DisciplineDb
|
|||
.HasColumnType("longtext")
|
||||
.HasComment("ชื่อหน่วยงาน child4");
|
||||
|
||||
b.Property<string>("child4DnaId")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("id หน่วยงาน child4");
|
||||
|
||||
b.Property<string>("child4Id")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("id หน่วยงาน child4");
|
||||
|
|
@ -2852,6 +2928,10 @@ namespace BMA.EHR.Infrastructure.Migrations.DisciplineDb
|
|||
.HasColumnType("longtext")
|
||||
.HasComment("ชื่อหน่วยงาน root");
|
||||
|
||||
b.Property<string>("rootDnaId")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("id หน่วยงาน root");
|
||||
|
||||
b.Property<string>("rootId")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("id หน่วยงาน root");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue