add field เพื่อระบบกรอกข้อมูลทะเบียนประวัติ

This commit is contained in:
Suphonchai Phoonsawat 2024-02-09 12:49:13 +07:00
parent 1f4cee21c7
commit c704556891
11 changed files with 51552 additions and 1 deletions

View file

@ -0,0 +1,29 @@
using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace BMA.EHR.Infrastructure.Migrations
{
/// <inheritdoc />
public partial class AddIsActivetoProfileLeaveSummaryTable : Migration
{
/// <inheritdoc />
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<bool>(
name: "IsActive",
table: "ProfileLeaveSummary",
type: "tinyint(1)",
nullable: false,
defaultValue: false);
}
/// <inheritdoc />
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "IsActive",
table: "ProfileLeaveSummary");
}
}
}