ไม่ validate วันที่สมัครสอบ
This commit is contained in:
parent
a207e5077c
commit
c11b3b68ae
17 changed files with 3276 additions and 312 deletions
2869
Migrations/20230601050043_update table candidate add high degree.Designer.cs
generated
Normal file
2869
Migrations/20230601050043_update table candidate add high degree.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -0,0 +1,43 @@
|
|||
using System;
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace BMA.EHR.Recurit.Exam.Service.Migrations
|
||||
{
|
||||
/// <inheritdoc />
|
||||
public partial class updatetablecandidateaddhighdegree : Migration
|
||||
{
|
||||
/// <inheritdoc />
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.AddColumn<bool>(
|
||||
name: "HighDegree",
|
||||
table: "PositionExams",
|
||||
type: "tinyint(1)",
|
||||
nullable: false,
|
||||
defaultValue: false,
|
||||
comment: "ปริญญาขึ้นไป");
|
||||
|
||||
migrationBuilder.AddColumn<DateTime>(
|
||||
name: "RegisterDate",
|
||||
table: "Candidates",
|
||||
type: "datetime(6)",
|
||||
maxLength: 40,
|
||||
nullable: true,
|
||||
comment: "วันที่สมัคร");
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropColumn(
|
||||
name: "HighDegree",
|
||||
table: "PositionExams");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "RegisterDate",
|
||||
table: "Candidates");
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue