เพิ่ม user ใน บรรจุ
This commit is contained in:
parent
d5ffd5cb08
commit
824c8267ef
24 changed files with 45466 additions and 16 deletions
|
|
@ -0,0 +1,40 @@
|
|||
using System;
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace BMA.EHR.Infrastructure.Migrations
|
||||
{
|
||||
/// <inheritdoc />
|
||||
public partial class updatetableplacementofficeradddatestart : Migration
|
||||
{
|
||||
/// <inheritdoc />
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.RenameColumn(
|
||||
name: "Date",
|
||||
table: "PlacementOfficers",
|
||||
newName: "DateStart");
|
||||
|
||||
migrationBuilder.AddColumn<DateTime>(
|
||||
name: "DateEnd",
|
||||
table: "PlacementOfficers",
|
||||
type: "datetime(6)",
|
||||
nullable: true,
|
||||
comment: "ถึงวันที่");
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropColumn(
|
||||
name: "DateEnd",
|
||||
table: "PlacementOfficers");
|
||||
|
||||
migrationBuilder.RenameColumn(
|
||||
name: "DateStart",
|
||||
table: "PlacementOfficers",
|
||||
newName: "Date");
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue