migrate
This commit is contained in:
parent
ed0af9661c
commit
1b04e2dfc3
3 changed files with 19245 additions and 0 deletions
19195
BMA.EHR.Infrastructure/Migrations/20250115091305_update table RetirementResigns add profiletype.Designer.cs
generated
Normal file
19195
BMA.EHR.Infrastructure/Migrations/20250115091305_update table RetirementResigns add profiletype.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -0,0 +1,42 @@
|
|||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace BMA.EHR.Infrastructure.Migrations
|
||||
{
|
||||
/// <inheritdoc />
|
||||
public partial class updatetableRetirementResignsaddprofiletype : Migration
|
||||
{
|
||||
/// <inheritdoc />
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "profileType",
|
||||
table: "RetirementOuts",
|
||||
type: "longtext",
|
||||
nullable: true,
|
||||
comment: "สถานภาพ (OFFICER->ข้าราชการ EMPLOYEE->ลูกจ้างประจำ)")
|
||||
.Annotation("MySql:CharSet", "utf8mb4");
|
||||
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "profileType",
|
||||
table: "RetirementDeceaseds",
|
||||
type: "longtext",
|
||||
nullable: true,
|
||||
comment: "สถานภาพ (OFFICER->ข้าราชการ EMPLOYEE->ลูกจ้างประจำ)")
|
||||
.Annotation("MySql:CharSet", "utf8mb4");
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropColumn(
|
||||
name: "profileType",
|
||||
table: "RetirementOuts");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "profileType",
|
||||
table: "RetirementDeceaseds");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -14324,6 +14324,10 @@ namespace BMA.EHR.Infrastructure.Migrations
|
|||
.HasColumnType("longtext")
|
||||
.HasComment("profile Id");
|
||||
|
||||
b.Property<string>("profileType")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("สถานภาพ (OFFICER->ข้าราชการ EMPLOYEE->ลูกจ้างประจำ)");
|
||||
|
||||
b.Property<string>("root")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("ชื่อหน่วยงาน root");
|
||||
|
|
@ -15121,6 +15125,10 @@ namespace BMA.EHR.Infrastructure.Migrations
|
|||
.HasColumnType("longtext")
|
||||
.HasComment("profile Id");
|
||||
|
||||
b.Property<string>("profileType")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("สถานภาพ (OFFICER->ข้าราชการ EMPLOYEE->ลูกจ้างประจำ)");
|
||||
|
||||
b.Property<string>("rootOld")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("ชื่อหน่วยงาน root old");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue