hrms-api-backend/BMA.EHR.Infrastructure/Migrations/20230825025632_update table RetirementQuestion add AppointDate.cs
2023-08-25 18:18:28 +07:00

30 lines
972 B
C#

using System;
using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace BMA.EHR.Infrastructure.Migrations
{
/// <inheritdoc />
public partial class updatetableRetirementQuestionaddAppointDate : Migration
{
/// <inheritdoc />
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<DateTime>(
name: "AppointDate",
table: "RetirementQuestions",
type: "datetime(6)",
nullable: true,
comment: "กําหนดวันนัดหมายเพื่อทําการสัมภาษณ์การลาออก");
}
/// <inheritdoc />
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "AppointDate",
table: "RetirementQuestions");
}
}
}