migrate
Some checks failed
release-dev / release-dev (push) Failing after 11s

This commit is contained in:
Bright 2025-03-21 18:08:41 +07:00
parent 1b6cc4f014
commit eaa54a13f7
8 changed files with 20026 additions and 0 deletions

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,66 @@
using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace BMA.EHR.Infrastructure.Migrations
{
/// <inheritdoc />
public partial class addPositionExecutiveOld2 : Migration
{
/// <inheritdoc />
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<string>(
name: "PositionExecutiveOld",
table: "RetirementResigns",
type: "longtext",
nullable: true,
comment: "ตำแหน่งทางการบริหารเดิม")
.Annotation("MySql:CharSet", "utf8mb4");
migrationBuilder.AddColumn<string>(
name: "PositionExecutiveOld",
table: "RetirementResignCancels",
type: "longtext",
nullable: true,
comment: "ตำแหน่งทางการบริหารเดิม")
.Annotation("MySql:CharSet", "utf8mb4");
migrationBuilder.AddColumn<string>(
name: "PositionExecutive",
table: "PlacementProfiles",
type: "longtext",
nullable: true,
comment: "ตำแหน่งทางการบริหาร")
.Annotation("MySql:CharSet", "utf8mb4");
migrationBuilder.AddColumn<string>(
name: "PositionExecutiveOld",
table: "PlacementProfiles",
type: "longtext",
nullable: true,
comment: "ตำแหน่งทางการบริหารเดิม")
.Annotation("MySql:CharSet", "utf8mb4");
}
/// <inheritdoc />
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "PositionExecutiveOld",
table: "RetirementResigns");
migrationBuilder.DropColumn(
name: "PositionExecutiveOld",
table: "RetirementResignCancels");
migrationBuilder.DropColumn(
name: "PositionExecutive",
table: "PlacementProfiles");
migrationBuilder.DropColumn(
name: "PositionExecutiveOld",
table: "PlacementProfiles");
}
}
}

View file

@ -12711,6 +12711,14 @@ namespace BMA.EHR.Infrastructure.Migrations
.HasColumnType("longtext")
.HasComment("ตำแหน่งสอบ");
b.Property<string>("PositionExecutive")
.HasColumnType("longtext")
.HasComment("ตำแหน่งทางการบริหาร");
b.Property<string>("PositionExecutiveOld")
.HasColumnType("longtext")
.HasComment("ตำแหน่งทางการบริหารเดิม");
b.Property<string>("PositionLevel")
.HasColumnType("longtext")
.HasComment("ระดับ");
@ -16664,6 +16672,10 @@ namespace BMA.EHR.Infrastructure.Migrations
.HasColumnType("longtext")
.HasComment("สังกัด");
b.Property<string>("PositionExecutiveOld")
.HasColumnType("longtext")
.HasComment("ตำแหน่งทางการบริหารเดิม");
b.Property<string>("PositionLevelOld")
.HasColumnType("longtext")
.HasComment("ข้อมูลหน่วยงานเดิม ระดับ");
@ -16972,6 +16984,10 @@ namespace BMA.EHR.Infrastructure.Migrations
.HasColumnType("longtext")
.HasComment("สังกัด");
b.Property<string>("PositionExecutiveOld")
.HasColumnType("longtext")
.HasComment("ตำแหน่งทางการบริหารเดิม");
b.Property<string>("PositionLevelOld")
.HasColumnType("longtext")
.HasComment("ข้อมูลหน่วยงานเดิม ระดับ");