เพิ่มฟิวเช็คผู้ร้องเรียนที่ยืนมาจากก่อนหน้านี่

This commit is contained in:
Kittapath 2024-01-26 09:02:07 +07:00
parent 491ee1a302
commit 2f51a4e26e
10 changed files with 3089 additions and 0 deletions

View file

@ -0,0 +1,51 @@
using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace BMA.EHR.Infrastructure.Migrations.DisciplineDb
{
/// <inheritdoc />
public partial class updatetableDisciplineDisciplinary_ProfileComplaintInvestigatesaddIsAncestorDNA : Migration
{
/// <inheritdoc />
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<bool>(
name: "IsAncestorDNA",
table: "DisciplineInvestigate_ProfileComplaints",
type: "tinyint(1)",
nullable: true,
comment: "รายการเก่า");
migrationBuilder.AddColumn<bool>(
name: "IsAncestorDNA",
table: "DisciplineDisciplinary_ProfileComplaintInvestigates",
type: "tinyint(1)",
nullable: true,
comment: "รายการเก่า");
migrationBuilder.AddColumn<bool>(
name: "IsAncestorDNA",
table: "DisciplineComplaint_Profiles",
type: "tinyint(1)",
nullable: true,
comment: "รายการเก่า");
}
/// <inheritdoc />
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "IsAncestorDNA",
table: "DisciplineInvestigate_ProfileComplaints");
migrationBuilder.DropColumn(
name: "IsAncestorDNA",
table: "DisciplineDisciplinary_ProfileComplaintInvestigates");
migrationBuilder.DropColumn(
name: "IsAncestorDNA",
table: "DisciplineComplaint_Profiles");
}
}
}

View file

@ -518,6 +518,10 @@ namespace BMA.EHR.Infrastructure.Migrations.DisciplineDb
.HasColumnType("varchar(100)")
.HasComment("ชื่อ");
b.Property<bool?>("IsAncestorDNA")
.HasColumnType("tinyint(1)")
.HasComment("รายการเก่า");
b.Property<string>("LastName")
.IsRequired()
.HasMaxLength(100)
@ -1673,6 +1677,10 @@ namespace BMA.EHR.Infrastructure.Migrations.DisciplineDb
.HasColumnType("varchar(100)")
.HasComment("ชื่อ");
b.Property<bool?>("IsAncestorDNA")
.HasColumnType("tinyint(1)")
.HasComment("รายการเก่า");
b.Property<string>("IsReport")
.HasColumnType("longtext")
.HasComment("ส่งไปยุติเรื่อง");
@ -2280,6 +2288,10 @@ namespace BMA.EHR.Infrastructure.Migrations.DisciplineDb
.HasColumnType("varchar(100)")
.HasComment("ชื่อ");
b.Property<bool?>("IsAncestorDNA")
.HasColumnType("tinyint(1)")
.HasComment("รายการเก่า");
b.Property<bool?>("IsDisciplinary")
.HasColumnType("tinyint(1)")
.HasComment("ส่งไปสอบสวน");