This commit is contained in:
parent
4b8c059677
commit
2d0d5eb2b8
3 changed files with 19258 additions and 0 deletions
19224
BMA.EHR.Infrastructure/Migrations/20241213093654_update table placementofficer add commandno.Designer.cs
generated
Normal file
19224
BMA.EHR.Infrastructure/Migrations/20241213093654_update table placementofficer add commandno.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -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");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -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("ชื่อ");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue