hrms-api-backend/BMA.EHR.Infrastructure/Migrations/LeaveDb/20231123082554_add process dutytime status.cs
Suphonchai Phoonsawat 2bf43a52b5 change round
2023-11-23 15:48:09 +07:00

30 lines
907 B
C#

using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace BMA.EHR.Infrastructure.Migrations.LeaveDb
{
/// <inheritdoc />
public partial class addprocessdutytimestatus : Migration
{
/// <inheritdoc />
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<bool>(
name: "IsProcess",
table: "UserDutyTimes",
type: "tinyint(1)",
nullable: false,
defaultValue: false,
comment: "ทำการประมวลผลแล้วหรือยัง");
}
/// <inheritdoc />
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "IsProcess",
table: "UserDutyTimes");
}
}
}