คำสั่ง 22 เพิ่มครั้งที่
This commit is contained in:
parent
cc711146c5
commit
6cfe02a2e0
8 changed files with 17021 additions and 2 deletions
|
|
@ -0,0 +1,42 @@
|
|||
using System;
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace BMA.EHR.Infrastructure.Migrations
|
||||
{
|
||||
/// <inheritdoc />
|
||||
public partial class updatetablecommandaddtranferNo : Migration
|
||||
{
|
||||
/// <inheritdoc />
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.AddColumn<DateTime>(
|
||||
name: "ConclusionTranferDate",
|
||||
table: "Commands",
|
||||
type: "datetime(6)",
|
||||
nullable: true,
|
||||
comment: "การประชุม ลงวันที่");
|
||||
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "ConclusionTranferNo",
|
||||
table: "Commands",
|
||||
type: "longtext",
|
||||
nullable: true,
|
||||
comment: "การประชุม ครั้งที่")
|
||||
.Annotation("MySql:CharSet", "utf8mb4");
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropColumn(
|
||||
name: "ConclusionTranferDate",
|
||||
table: "Commands");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "ConclusionTranferNo",
|
||||
table: "Commands");
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue