add table duty time

This commit is contained in:
Suphonchai Phoonsawat 2023-11-23 10:35:55 +07:00
parent d06e1af217
commit 22d9210416
17 changed files with 2459 additions and 10 deletions

View file

@ -0,0 +1,29 @@
using System;
using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace BMA.EHR.Infrastructure.Migrations.LeaveDb
{
/// <inheritdoc />
public partial class adduserdutytimeeffectivedate : Migration
{
/// <inheritdoc />
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<DateTime>(
name: "EffectiveDate",
table: "UserDutyTimes",
type: "datetime(6)",
nullable: true);
}
/// <inheritdoc />
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "EffectiveDate",
table: "UserDutyTimes");
}
}
}