hrms-api-backend/BMA.EHR.Infrastructure/Migrations/20231123081146_add duty time effectivedata to profile.cs
Suphonchai Phoonsawat 2bf43a52b5 change round
2023-11-23 15:48:09 +07:00

30 lines
897 B
C#

using System;
using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace BMA.EHR.Infrastructure.Migrations
{
/// <inheritdoc />
public partial class adddutytimeeffectivedatatoprofile : Migration
{
/// <inheritdoc />
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<DateTime>(
name: "DutyTimeEffectiveDate",
table: "Profiles",
type: "datetime(6)",
nullable: true,
comment: "วันที่รอบการลงเวลามีผล");
}
/// <inheritdoc />
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "DutyTimeEffectiveDate",
table: "Profiles");
}
}
}