ปรับรายละเอียดเครื่องราชตามtor

This commit is contained in:
DESKTOP-2S5P7D1\Windows 10 2023-09-01 12:52:46 +07:00
parent fa0568f938
commit c54f3709ef
11 changed files with 16218 additions and 10 deletions

View file

@ -0,0 +1,30 @@
using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace BMA.EHR.Infrastructure.Migrations
{
/// <inheritdoc />
public partial class updatetableinsigniaperiodaddislock : Migration
{
/// <inheritdoc />
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<bool>(
name: "IsLock",
table: "InsigniaPeriods",
type: "tinyint(1)",
nullable: false,
defaultValue: false,
comment: "สถานะการ Freez ข้อมูล");
}
/// <inheritdoc />
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "IsLock",
table: "InsigniaPeriods");
}
}
}

View file

@ -5777,6 +5777,10 @@ namespace BMA.EHR.Infrastructure.Migrations
.HasColumnType("tinyint(1)")
.HasComment("สถานะการใช้งาน");
b.Property<bool>("IsLock")
.HasColumnType("tinyint(1)")
.HasComment("สถานะการ Freez ข้อมูล");
b.Property<string>("LastUpdateFullName")
.IsRequired()
.HasMaxLength(200)