no message

This commit is contained in:
kittapath 2025-02-07 16:52:49 +07:00
parent 91196ec876
commit 970e368ce4
5 changed files with 3543 additions and 0 deletions

View file

@ -0,0 +1,54 @@
using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace BMA.EHR.Infrastructure.Migrations.DisciplineDb
{
/// <inheritdoc />
public partial class updatetabledisciplinecomadddna1 : Migration
{
/// <inheritdoc />
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<string>(
name: "CommandCode",
table: "DisciplineReport_Profiles",
type: "longtext",
nullable: true,
comment: "ประเภทออกคำสั่ง")
.Annotation("MySql:CharSet", "utf8mb4");
migrationBuilder.AddColumn<string>(
name: "CommandCode",
table: "DisciplineDisciplinary_ProfileComplaintInvestigates",
type: "longtext",
nullable: true,
comment: "ประเภทออกคำสั่ง")
.Annotation("MySql:CharSet", "utf8mb4");
migrationBuilder.AddColumn<string>(
name: "CommandDiscardCode",
table: "DisciplineDisciplinary_ProfileComplaintInvestigates",
type: "longtext",
nullable: true,
comment: "ประเภทออกคำสั่งงดโทด")
.Annotation("MySql:CharSet", "utf8mb4");
}
/// <inheritdoc />
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "CommandCode",
table: "DisciplineReport_Profiles");
migrationBuilder.DropColumn(
name: "CommandCode",
table: "DisciplineDisciplinary_ProfileComplaintInvestigates");
migrationBuilder.DropColumn(
name: "CommandDiscardCode",
table: "DisciplineDisciplinary_ProfileComplaintInvestigates");
}
}
}

View file

@ -1770,6 +1770,14 @@ namespace BMA.EHR.Infrastructure.Migrations.DisciplineDb
.HasColumnType("varchar(13)")
.HasComment("รหัสบัตรประชาชน");
b.Property<string>("CommandCode")
.HasColumnType("longtext")
.HasComment("ประเภทออกคำสั่ง");
b.Property<string>("CommandDiscardCode")
.HasColumnType("longtext")
.HasComment("ประเภทออกคำสั่งงดโทด");
b.Property<Guid?>("CommandTypeDiscardId")
.HasColumnType("char(36)")
.HasComment("ประเภทออกคำสั่งงดโทด");
@ -2715,6 +2723,10 @@ namespace BMA.EHR.Infrastructure.Migrations.DisciplineDb
.HasColumnType("varchar(13)")
.HasComment("รหัสบัตรประชาชน");
b.Property<string>("CommandCode")
.HasColumnType("longtext")
.HasComment("ประเภทออกคำสั่ง");
b.Property<Guid?>("CommandTypeId")
.HasColumnType("char(36)")
.HasComment("ประเภทออกคำสั่ง");