add table and class for gentree

This commit is contained in:
Suphonchai Phoonsawat 2023-10-11 11:01:49 +07:00
parent ccebc7773f
commit eb960ce533
8 changed files with 16951 additions and 1 deletions

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,30 @@
using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace BMA.EHR.Infrastructure.Migrations
{
/// <inheritdoc />
public partial class updatetablefieldCommandReceiver : Migration
{
/// <inheritdoc />
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<string>(
name: "Comment2",
table: "CommandReceivers",
type: "text",
nullable: false,
comment: "หมายเหตุแนวนอน")
.Annotation("MySql:CharSet", "utf8mb4");
}
/// <inheritdoc />
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "Comment2",
table: "CommandReceivers");
}
}
}

View file

@ -482,6 +482,11 @@ namespace BMA.EHR.Infrastructure.Migrations
.HasColumnType("text")
.HasComment("หมายเหตุ");
b.Property<string>("Comment2")
.IsRequired()
.HasColumnType("text")
.HasComment("หมายเหตุแนวนอน");
b.Property<DateTime>("CreatedAt")
.HasColumnType("datetime(6)")
.HasColumnOrder(100)