add field

This commit is contained in:
Suphonchai Phoonsawat 2024-02-13 13:25:01 +07:00
parent c704556891
commit e45cf014b1
11 changed files with 51436 additions and 0 deletions

View file

@ -0,0 +1,29 @@
using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace BMA.EHR.Infrastructure.Migrations
{
/// <inheritdoc />
public partial class AddFieldsIsDateTable : Migration
{
/// <inheritdoc />
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<bool>(
name: "IsDate",
table: "ProfileTrainings",
type: "tinyint(1)",
nullable: true,
comment: "ประเภทช่วงเวลาการศึกษา");
}
/// <inheritdoc />
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "IsDate",
table: "ProfileTrainings");
}
}
}