hrms-api-backend/BMA.EHR.Infrastructure/Migrations/20240503061857_update table PlacementRecive add reportdate.cs

30 lines
892 B
C#

using System;
using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace BMA.EHR.Infrastructure.Migrations
{
/// <inheritdoc />
public partial class updatetablePlacementReciveaddreportdate : Migration
{
/// <inheritdoc />
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<DateTime>(
name: "ReportingDate",
table: "PlacementAppointments",
type: "datetime(6)",
nullable: true,
comment: "วันที่รายงานตัว");
}
/// <inheritdoc />
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "ReportingDate",
table: "PlacementAppointments");
}
}
}