โอนคนสรรหาไปบรรจุ
This commit is contained in:
parent
40836767ad
commit
e55c0f746b
10 changed files with 35615 additions and 17 deletions
|
|
@ -0,0 +1,84 @@
|
|||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace BMA.EHR.Infrastructure.Migrations
|
||||
{
|
||||
/// <inheritdoc />
|
||||
public partial class updateTableplacementExamNumbernullable : Migration
|
||||
{
|
||||
/// <inheritdoc />
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.AlterColumn<int>(
|
||||
name: "ExamRound",
|
||||
table: "PlacementProfiles",
|
||||
type: "int",
|
||||
nullable: true,
|
||||
comment: "จำนวนครั้งที่สมัครสอบ",
|
||||
oldClrType: typeof(int),
|
||||
oldType: "int",
|
||||
oldComment: "จำนวนครั้งที่สมัครสอบ");
|
||||
|
||||
migrationBuilder.AlterColumn<int>(
|
||||
name: "ExamNumber",
|
||||
table: "PlacementProfiles",
|
||||
type: "int",
|
||||
nullable: true,
|
||||
comment: "ลำดับที่สอบได้",
|
||||
oldClrType: typeof(int),
|
||||
oldType: "int",
|
||||
oldComment: "ลำดับที่สอบได้");
|
||||
|
||||
migrationBuilder.AlterColumn<int>(
|
||||
name: "DurationYear",
|
||||
table: "PlacementEducations",
|
||||
type: "int",
|
||||
nullable: true,
|
||||
comment: "ระยะเวลาหลักสูตร",
|
||||
oldClrType: typeof(int),
|
||||
oldType: "int",
|
||||
oldComment: "ระยะเวลาหลักสูตร");
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.AlterColumn<int>(
|
||||
name: "ExamRound",
|
||||
table: "PlacementProfiles",
|
||||
type: "int",
|
||||
nullable: false,
|
||||
defaultValue: 0,
|
||||
comment: "จำนวนครั้งที่สมัครสอบ",
|
||||
oldClrType: typeof(int),
|
||||
oldType: "int",
|
||||
oldNullable: true,
|
||||
oldComment: "จำนวนครั้งที่สมัครสอบ");
|
||||
|
||||
migrationBuilder.AlterColumn<int>(
|
||||
name: "ExamNumber",
|
||||
table: "PlacementProfiles",
|
||||
type: "int",
|
||||
nullable: false,
|
||||
defaultValue: 0,
|
||||
comment: "ลำดับที่สอบได้",
|
||||
oldClrType: typeof(int),
|
||||
oldType: "int",
|
||||
oldNullable: true,
|
||||
oldComment: "ลำดับที่สอบได้");
|
||||
|
||||
migrationBuilder.AlterColumn<int>(
|
||||
name: "DurationYear",
|
||||
table: "PlacementEducations",
|
||||
type: "int",
|
||||
nullable: false,
|
||||
defaultValue: 0,
|
||||
comment: "ระยะเวลาหลักสูตร",
|
||||
oldClrType: typeof(int),
|
||||
oldType: "int",
|
||||
oldNullable: true,
|
||||
oldComment: "ระยะเวลาหลักสูตร");
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue