migrate
This commit is contained in:
parent
c1a20aca35
commit
484ff73667
4 changed files with 19972 additions and 0 deletions
|
|
@ -126,6 +126,8 @@ namespace BMA.EHR.Domain.Models.Placement
|
||||||
public int? posMasterNo { get; set; }
|
public int? posMasterNo { get; set; }
|
||||||
[Comment("ชื่อตำแหน่งในสายงาน")]
|
[Comment("ชื่อตำแหน่งในสายงาน")]
|
||||||
public string? position { get; set; }
|
public string? position { get; set; }
|
||||||
|
[Comment("ตำแหน่งทางการบริหาร")]
|
||||||
|
public string? PositionExecutive { get; set; }
|
||||||
[Comment("id ประเภทตำแหน่ง")]
|
[Comment("id ประเภทตำแหน่ง")]
|
||||||
public string? posTypeId { get; set; }
|
public string? posTypeId { get; set; }
|
||||||
[Comment("ชื่อประเภทตำแหน่ง")]
|
[Comment("ชื่อประเภทตำแหน่ง")]
|
||||||
|
|
|
||||||
19936
BMA.EHR.Infrastructure/Migrations/20250324072026_addPositionExecutiveOld3.Designer.cs
generated
Normal file
19936
BMA.EHR.Infrastructure/Migrations/20250324072026_addPositionExecutiveOld3.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -0,0 +1,30 @@
|
||||||
|
using Microsoft.EntityFrameworkCore.Migrations;
|
||||||
|
|
||||||
|
#nullable disable
|
||||||
|
|
||||||
|
namespace BMA.EHR.Infrastructure.Migrations
|
||||||
|
{
|
||||||
|
/// <inheritdoc />
|
||||||
|
public partial class addPositionExecutiveOld3 : Migration
|
||||||
|
{
|
||||||
|
/// <inheritdoc />
|
||||||
|
protected override void Up(MigrationBuilder migrationBuilder)
|
||||||
|
{
|
||||||
|
migrationBuilder.AddColumn<string>(
|
||||||
|
name: "PositionExecutive",
|
||||||
|
table: "PlacementReceives",
|
||||||
|
type: "longtext",
|
||||||
|
nullable: true,
|
||||||
|
comment: "ตำแหน่งทางการบริหาร")
|
||||||
|
.Annotation("MySql:CharSet", "utf8mb4");
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <inheritdoc />
|
||||||
|
protected override void Down(MigrationBuilder migrationBuilder)
|
||||||
|
{
|
||||||
|
migrationBuilder.DropColumn(
|
||||||
|
name: "PositionExecutive",
|
||||||
|
table: "PlacementReceives");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -13263,6 +13263,10 @@ namespace BMA.EHR.Infrastructure.Migrations
|
||||||
.HasColumnType("longtext")
|
.HasColumnType("longtext")
|
||||||
.HasComment("สังกัดเดิม");
|
.HasComment("สังกัดเดิม");
|
||||||
|
|
||||||
|
b.Property<string>("PositionExecutive")
|
||||||
|
.HasColumnType("longtext")
|
||||||
|
.HasComment("ตำแหน่งทางการบริหาร");
|
||||||
|
|
||||||
b.Property<string>("PositionExecutiveOld")
|
b.Property<string>("PositionExecutiveOld")
|
||||||
.HasColumnType("longtext")
|
.HasColumnType("longtext")
|
||||||
.HasComment("ตำแหน่งทางการบริหารเดิม");
|
.HasComment("ตำแหน่งทางการบริหารเดิม");
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue