แก้บรรจุผูกกับโครงสร้างใหม่
This commit is contained in:
parent
06af1fc632
commit
adada88230
6 changed files with 17266 additions and 19 deletions
17138
BMA.EHR.Infrastructure/Migrations/20240221072604_update table placement add shortname.Designer.cs
generated
Normal file
17138
BMA.EHR.Infrastructure/Migrations/20240221072604_update table placement add shortname.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -0,0 +1,65 @@
|
|||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace BMA.EHR.Infrastructure.Migrations
|
||||
{
|
||||
/// <inheritdoc />
|
||||
public partial class updatetableplacementaddshortname : Migration
|
||||
{
|
||||
/// <inheritdoc />
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.AddColumn<int>(
|
||||
name: "PosNumber",
|
||||
table: "PlacementProfiles",
|
||||
type: "int",
|
||||
nullable: true,
|
||||
comment: "ชื่อตำแหน่งเลขที่");
|
||||
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "PosPath",
|
||||
table: "PlacementProfiles",
|
||||
type: "longtext",
|
||||
nullable: true,
|
||||
comment: "ชื่อตำแหน่ง")
|
||||
.Annotation("MySql:CharSet", "utf8mb4");
|
||||
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "orgTreeShortName",
|
||||
table: "PlacementProfiles",
|
||||
type: "longtext",
|
||||
nullable: true,
|
||||
comment: "ชื่อย่อหน่วยงาน")
|
||||
.Annotation("MySql:CharSet", "utf8mb4");
|
||||
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "organizationName",
|
||||
table: "PlacementProfiles",
|
||||
type: "longtext",
|
||||
nullable: true,
|
||||
comment: "ชื่อหน่วยงาน")
|
||||
.Annotation("MySql:CharSet", "utf8mb4");
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropColumn(
|
||||
name: "PosNumber",
|
||||
table: "PlacementProfiles");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "PosPath",
|
||||
table: "PlacementProfiles");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "orgTreeShortName",
|
||||
table: "PlacementProfiles");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "organizationName",
|
||||
table: "PlacementProfiles");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -11992,6 +11992,14 @@ namespace BMA.EHR.Infrastructure.Migrations
|
|||
.HasColumnType("double")
|
||||
.HasComment("คะแนนเต็มภาค ค");
|
||||
|
||||
b.Property<int?>("PosNumber")
|
||||
.HasColumnType("int")
|
||||
.HasComment("ชื่อตำแหน่งเลขที่");
|
||||
|
||||
b.Property<string>("PosPath")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("ชื่อตำแหน่ง");
|
||||
|
||||
b.Property<Guid?>("PositionCandidateId")
|
||||
.HasColumnType("char(36)");
|
||||
|
||||
|
|
@ -12104,6 +12112,14 @@ namespace BMA.EHR.Infrastructure.Migrations
|
|||
.HasColumnType("char(36)")
|
||||
.HasComment("id โครงสร้าง");
|
||||
|
||||
b.Property<string>("orgTreeShortName")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("ชื่อย่อหน่วยงาน");
|
||||
|
||||
b.Property<string>("organizationName")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("ชื่อหน่วยงาน");
|
||||
|
||||
b.Property<Guid?>("positionId")
|
||||
.HasColumnType("char(36)")
|
||||
.HasComment("id ตำแหน่ง");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue