add field DisciplineDirectors.RootDnaId
This commit is contained in:
parent
23d86f632e
commit
71dc9f05d3
4 changed files with 3713 additions and 0 deletions
File diff suppressed because it is too large
Load diff
|
|
@ -0,0 +1,31 @@
|
|||
using System;
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace BMA.EHR.Infrastructure.Migrations.DisciplineDb
|
||||
{
|
||||
/// <inheritdoc />
|
||||
public partial class update_table_DisciplineDirector_add_RootDnaId : Migration
|
||||
{
|
||||
/// <inheritdoc />
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.AddColumn<Guid>(
|
||||
name: "RootDnaId",
|
||||
table: "DisciplineDirectors",
|
||||
type: "char(36)",
|
||||
nullable: true,
|
||||
comment: "RootDnaId",
|
||||
collation: "ascii_general_ci");
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropColumn(
|
||||
name: "RootDnaId",
|
||||
table: "DisciplineDirectors");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -842,6 +842,10 @@ namespace BMA.EHR.Infrastructure.Migrations.DisciplineDb
|
|||
.HasColumnType("longtext")
|
||||
.HasComment("คุณวุฒิ");
|
||||
|
||||
b.Property<Guid?>("RootDnaId")
|
||||
.HasColumnType("char(36)")
|
||||
.HasComment("RootDnaId");
|
||||
|
||||
b.HasKey("Id");
|
||||
|
||||
b.ToTable("DisciplineDirectors");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue