แก้คำสั่งพ้น
This commit is contained in:
parent
bd7fe04395
commit
ee72e497e2
11 changed files with 18060 additions and 64 deletions
17920
BMA.EHR.Infrastructure/Migrations/20240611045153_update table RetirementProfile add isdiscripline.Designer.cs
generated
Normal file
17920
BMA.EHR.Infrastructure/Migrations/20240611045153_update table RetirementProfile add isdiscripline.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 updatetableRetirementProfileaddisdiscripline : Migration
|
||||
{
|
||||
/// <inheritdoc />
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.AddColumn<bool>(
|
||||
name: "IsDiscipline",
|
||||
table: "RetirementResigns",
|
||||
type: "tinyint(1)",
|
||||
nullable: false,
|
||||
defaultValue: false,
|
||||
comment: "สถานะพฤติการณ์ทางวินัย");
|
||||
|
||||
migrationBuilder.AddColumn<bool>(
|
||||
name: "IsNoBurden",
|
||||
table: "RetirementResigns",
|
||||
type: "tinyint(1)",
|
||||
nullable: false,
|
||||
defaultValue: false,
|
||||
comment: "สถานะไม่มีภาระผูกพันค้ำประกันทุนการศึกษา");
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropColumn(
|
||||
name: "IsDiscipline",
|
||||
table: "RetirementResigns");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "IsNoBurden",
|
||||
table: "RetirementResigns");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -15622,6 +15622,14 @@ namespace BMA.EHR.Infrastructure.Migrations
|
|||
.HasColumnType("tinyint(1)")
|
||||
.HasComment("สถานะการใช้งาน");
|
||||
|
||||
b.Property<bool>("IsDiscipline")
|
||||
.HasColumnType("tinyint(1)")
|
||||
.HasComment("สถานะพฤติการณ์ทางวินัย");
|
||||
|
||||
b.Property<bool>("IsNoBurden")
|
||||
.HasColumnType("tinyint(1)")
|
||||
.HasComment("สถานะไม่มีภาระผูกพันค้ำประกันทุนการศึกษา");
|
||||
|
||||
b.Property<bool>("IsNoDebt")
|
||||
.HasColumnType("tinyint(1)")
|
||||
.HasComment("สถานะไม่เป็นหนี้สหกรณ์");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue