hrms-api-backend/BMA.EHR.Infrastructure/Migrations/20250507095828_update_table_retirement_add_approver_date.cs

39 lines
1.2 KiB
C#

using System;
using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace BMA.EHR.Infrastructure.Migrations
{
/// <inheritdoc />
public partial class update_table_retirement_add_approver_date : Migration
{
/// <inheritdoc />
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<DateTime>(
name: "RejectDate",
table: "RetirementResignEmployeeApprovers",
type: "datetime(6)",
nullable: true);
migrationBuilder.AddColumn<DateTime>(
name: "RejectDate",
table: "RetirementResignApprovers",
type: "datetime(6)",
nullable: true);
}
/// <inheritdoc />
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "RejectDate",
table: "RetirementResignEmployeeApprovers");
migrationBuilder.DropColumn(
name: "RejectDate",
table: "RetirementResignApprovers");
}
}
}