Migrate + ปรับการแสดงผลจัดการรอบสอบแข่งขัน #11
All checks were successful
Build & Deploy on Dev / build (push) Successful in 48s
All checks were successful
Build & Deploy on Dev / build (push) Successful in 48s
This commit is contained in:
parent
5752f35712
commit
853b5c59f6
7 changed files with 1671 additions and 2 deletions
1609
Migrations/20260610063317_update_RecruitImport_add_OrganizationId.Designer.cs
generated
Normal file
1609
Migrations/20260610063317_update_RecruitImport_add_OrganizationId.Designer.cs
generated
Normal file
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.Recruit.Migrations
|
||||
{
|
||||
/// <inheritdoc />
|
||||
public partial class update_RecruitImport_add_OrganizationId : Migration
|
||||
{
|
||||
/// <inheritdoc />
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.AddColumn<Guid>(
|
||||
name: "OrganizationId",
|
||||
table: "RecruitImports",
|
||||
type: "char(36)",
|
||||
nullable: true,
|
||||
comment: "DnaId หน่วยงาน",
|
||||
collation: "ascii_general_ci");
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropColumn(
|
||||
name: "OrganizationId",
|
||||
table: "RecruitImports");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -704,6 +704,10 @@ namespace BMA.EHR.Recruit.Migrations
|
|||
.HasColumnOrder(3)
|
||||
.HasComment("ครั้งที่");
|
||||
|
||||
b.Property<Guid?>("OrganizationId")
|
||||
.HasColumnType("char(36)")
|
||||
.HasComment("DnaId หน่วยงาน");
|
||||
|
||||
b.Property<DateTime?>("PaymentEndDate")
|
||||
.HasColumnType("datetime(6)")
|
||||
.HasColumnOrder(9)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue