29 lines
909 B
C#
29 lines
909 B
C#
using Microsoft.EntityFrameworkCore.Migrations;
|
|
|
|
#nullable disable
|
|
|
|
namespace BMA.EHR.Infrastructure.Migrations.DisciplineDb
|
|
{
|
|
/// <inheritdoc />
|
|
public partial class updatetableDisciplineDisciplinarysaddDisciplineDaysExtend : Migration
|
|
{
|
|
/// <inheritdoc />
|
|
protected override void Up(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.AddColumn<bool>(
|
|
name: "DisciplinaryExtendStatus",
|
|
table: "DisciplineDisciplinarys",
|
|
type: "tinyint(1)",
|
|
nullable: true,
|
|
comment: "ขยายเวลา");
|
|
}
|
|
|
|
/// <inheritdoc />
|
|
protected override void Down(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.DropColumn(
|
|
name: "DisciplinaryExtendStatus",
|
|
table: "DisciplineDisciplinarys");
|
|
}
|
|
}
|
|
}
|