using Microsoft.EntityFrameworkCore.Migrations;

#nullable disable

namespace BMA.EHR.Infrastructure.Migrations.DisciplineDb
{
    /// <inheritdoc />
    public partial class updatetableDisciplineDisciplinarysaddIsSuspend : Migration
    {
        /// <inheritdoc />
        protected override void Up(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.AddColumn<bool>(
                name: "IsSuspend",
                table: "DisciplineDisciplinary_ProfileComplaintInvestigates",
                type: "tinyint(1)",
                nullable: false,
                defaultValue: false,
                comment: "ส่งไปพักราชการ");
        }

        /// <inheritdoc />
        protected override void Down(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.DropColumn(
                name: "IsSuspend",
                table: "DisciplineDisciplinary_ProfileComplaintInvestigates");
        }
    }
}
