ออกคำสี่ง สรุปผลวินัย

This commit is contained in:
Kittapath 2023-12-20 10:29:50 +07:00
parent d5a78f2d0f
commit 36395c20f2
9 changed files with 10493 additions and 8953 deletions

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,43 @@
using System;
using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace BMA.EHR.Infrastructure.Migrations.DisciplineDb
{
/// <inheritdoc />
public partial class updatetableDisciplineDisciplinarysaddStatusDiscard : Migration
{
/// <inheritdoc />
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<Guid>(
name: "CommandTypeDiscardId",
table: "DisciplineDisciplinary_ProfileComplaintInvestigates",
type: "char(36)",
nullable: true,
comment: "ประเภทออกคำสั่งงดโทด",
collation: "ascii_general_ci");
migrationBuilder.AddColumn<string>(
name: "StatusDiscard",
table: "DisciplineDisciplinary_ProfileComplaintInvestigates",
type: "longtext",
nullable: true,
comment: "สถานะออกคำสั่งงดโทด")
.Annotation("MySql:CharSet", "utf8mb4");
}
/// <inheritdoc />
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "CommandTypeDiscardId",
table: "DisciplineDisciplinary_ProfileComplaintInvestigates");
migrationBuilder.DropColumn(
name: "StatusDiscard",
table: "DisciplineDisciplinary_ProfileComplaintInvestigates");
}
}
}