migrate table
Some checks failed
release-dev / release-dev (push) Failing after 11s

This commit is contained in:
kittapath 2024-12-13 16:39:36 +07:00
parent 4b8c059677
commit 2d0d5eb2b8
3 changed files with 19258 additions and 0 deletions

View file

@ -0,0 +1,30 @@
using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace BMA.EHR.Infrastructure.Migrations
{
/// <inheritdoc />
public partial class updatetableplacementofficeraddcommandno : Migration
{
/// <inheritdoc />
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<string>(
name: "commandNo",
table: "PlacementOfficers",
type: "longtext",
nullable: true,
comment: "เลขที่คำสั่ง")
.Annotation("MySql:CharSet", "utf8mb4");
}
/// <inheritdoc />
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "commandNo",
table: "PlacementOfficers");
}
}
}

View file

@ -12082,6 +12082,10 @@ namespace BMA.EHR.Infrastructure.Migrations
.HasColumnType("longtext")
.HasComment("เลขบัตรประชาชน");
b.Property<string>("commandNo")
.HasColumnType("longtext")
.HasComment("เลขที่คำสั่ง");
b.Property<string>("firstName")
.HasColumnType("longtext")
.HasComment("ชื่อ");