add table and class for gentree
This commit is contained in:
parent
ccebc7773f
commit
eb960ce533
8 changed files with 16951 additions and 1 deletions
16763
BMA.EHR.Infrastructure/Migrations/20231011032122_update table field CommandReceiver.Designer.cs
generated
Normal file
16763
BMA.EHR.Infrastructure/Migrations/20231011032122_update table field CommandReceiver.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -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");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue