แก้ไขข้อมูล อกก

This commit is contained in:
Kittapath 2023-09-13 14:56:47 +07:00
parent cfaf90cb01
commit 15d0af2f23
9 changed files with 16453 additions and 13 deletions

View file

@ -0,0 +1,42 @@
using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace BMA.EHR.Infrastructure.Migrations
{
/// <inheritdoc />
public partial class updatetableretirementperiodadddetail : Migration
{
/// <inheritdoc />
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<string>(
name: "Detail",
table: "RetirementPeriods",
type: "longtext",
nullable: false,
comment: "รายละเอียดมติ อกก")
.Annotation("MySql:CharSet", "utf8mb4");
migrationBuilder.AddColumn<string>(
name: "Detail",
table: "RetirementPeriodHistorys",
type: "longtext",
nullable: false,
comment: "รายละเอียดมติ อกก")
.Annotation("MySql:CharSet", "utf8mb4");
}
/// <inheritdoc />
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "Detail",
table: "RetirementPeriods");
migrationBuilder.DropColumn(
name: "Detail",
table: "RetirementPeriodHistorys");
}
}
}

View file

@ -13466,6 +13466,11 @@ namespace BMA.EHR.Infrastructure.Migrations
.HasColumnOrder(101)
.HasComment("User Id ที่สร้างข้อมูล");
b.Property<string>("Detail")
.IsRequired()
.HasColumnType("longtext")
.HasComment("รายละเอียดมติ อกก");
b.Property<Guid?>("DocumentId")
.HasColumnType("char(36)");
@ -13540,6 +13545,11 @@ namespace BMA.EHR.Infrastructure.Migrations
.HasColumnOrder(101)
.HasComment("User Id ที่สร้างข้อมูล");
b.Property<string>("Detail")
.IsRequired()
.HasColumnType("longtext")
.HasComment("รายละเอียดมติ อกก");
b.Property<Guid?>("DocumentId")
.HasColumnType("char(36)");