migrate add ScoreExpireDate
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
853b5c59f6
commit
b5567b5459
6 changed files with 1680 additions and 8 deletions
1614
Migrations/20260701102418_update_RecruitImport_add_ScoreExpireDate.Designer.cs
generated
Normal file
1614
Migrations/20260701102418_update_RecruitImport_add_ScoreExpireDate.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_ScoreExpireDate : Migration
|
||||
{
|
||||
/// <inheritdoc />
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.AddColumn<DateTime>(
|
||||
name: "ScoreExpireDate",
|
||||
table: "RecruitImports",
|
||||
type: "datetime(6)",
|
||||
nullable: true,
|
||||
comment: "วันหมดอายุบัญชี")
|
||||
.Annotation("Relational:ColumnOrder", 15);
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropColumn(
|
||||
name: "ScoreExpireDate",
|
||||
table: "RecruitImports");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -728,6 +728,11 @@ namespace BMA.EHR.Recruit.Migrations
|
|||
.HasColumnOrder(10)
|
||||
.HasComment("วันเริ่มสมัครสอบ");
|
||||
|
||||
b.Property<DateTime?>("ScoreExpireDate")
|
||||
.HasColumnType("datetime(6)")
|
||||
.HasColumnOrder(15)
|
||||
.HasComment("วันหมดอายุบัญชี");
|
||||
|
||||
b.Property<int>("Year")
|
||||
.HasColumnType("int")
|
||||
.HasColumnOrder(1)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue