ส่งวินัยไปออกคำสั่ง

This commit is contained in:
Kittapath 2023-12-22 15:29:24 +07:00
parent e8a288b4b2
commit f644654384
21 changed files with 24913 additions and 84 deletions

View file

@ -0,0 +1,66 @@
using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace BMA.EHR.Infrastructure.Migrations
{
/// <inheritdoc />
public partial class updateCommandaddFaultLevel : Migration
{
/// <inheritdoc />
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<string>(
name: "CaseFault",
table: "Commands",
type: "longtext",
nullable: true,
comment: "กรณีความผิด")
.Annotation("MySql:CharSet", "utf8mb4");
migrationBuilder.AddColumn<string>(
name: "FaultLevel",
table: "Commands",
type: "longtext",
nullable: true,
comment: "ระดับความผิด")
.Annotation("MySql:CharSet", "utf8mb4");
migrationBuilder.AddColumn<string>(
name: "RefRaw",
table: "Commands",
type: "longtext",
nullable: true,
comment: "อ้างอิงมาตราตามกฏหมาย")
.Annotation("MySql:CharSet", "utf8mb4");
migrationBuilder.AddColumn<string>(
name: "Result",
table: "Commands",
type: "longtext",
nullable: true,
comment: "ผลดำเนินการพิจารณา")
.Annotation("MySql:CharSet", "utf8mb4");
}
/// <inheritdoc />
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "CaseFault",
table: "Commands");
migrationBuilder.DropColumn(
name: "FaultLevel",
table: "Commands");
migrationBuilder.DropColumn(
name: "RefRaw",
table: "Commands");
migrationBuilder.DropColumn(
name: "Result",
table: "Commands");
}
}
}