แก้คำสั่งพ้น

This commit is contained in:
Kittapath 2024-06-11 11:58:38 +07:00
parent bd7fe04395
commit ee72e497e2
11 changed files with 18060 additions and 64 deletions

View file

@ -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");
}
}
}

View file

@ -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("สถานะไม่เป็นหนี้สหกรณ์");