สมัครสอบตามตำแหน่ง
This commit is contained in:
parent
bed23f911a
commit
43898213b2
25 changed files with 9062 additions and 307 deletions
1575
Migrations/20230405033622_Update table Candidate add bank2.Designer.cs
generated
Normal file
1575
Migrations/20230405033622_Update table Candidate add bank2.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -0,0 +1,50 @@
|
|||
using System;
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace BMA.EHR.Recurit.Exam.Service.Migrations
|
||||
{
|
||||
/// <inheritdoc />
|
||||
public partial class UpdatetableCandidateaddbank2 : Migration
|
||||
{
|
||||
/// <inheritdoc />
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.AddColumn<Guid>(
|
||||
name: "PositionExamId",
|
||||
table: "Candidates",
|
||||
type: "char(36)",
|
||||
nullable: true,
|
||||
collation: "ascii_general_ci");
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "IX_Candidates_PositionExamId",
|
||||
table: "Candidates",
|
||||
column: "PositionExamId");
|
||||
|
||||
migrationBuilder.AddForeignKey(
|
||||
name: "FK_Candidates_PositionExams_PositionExamId",
|
||||
table: "Candidates",
|
||||
column: "PositionExamId",
|
||||
principalTable: "PositionExams",
|
||||
principalColumn: "Id");
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropForeignKey(
|
||||
name: "FK_Candidates_PositionExams_PositionExamId",
|
||||
table: "Candidates");
|
||||
|
||||
migrationBuilder.DropIndex(
|
||||
name: "IX_Candidates_PositionExamId",
|
||||
table: "Candidates");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "PositionExamId",
|
||||
table: "Candidates");
|
||||
}
|
||||
}
|
||||
}
|
||||
1588
Migrations/20230405103112_Update table Candidate add ExamIdenNumber.Designer.cs
generated
Normal file
1588
Migrations/20230405103112_Update table Candidate add ExamIdenNumber.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -0,0 +1,42 @@
|
|||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace BMA.EHR.Recurit.Exam.Service.Migrations
|
||||
{
|
||||
/// <inheritdoc />
|
||||
public partial class UpdatetableCandidateaddExamIdenNumber : Migration
|
||||
{
|
||||
/// <inheritdoc />
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "ExamIdenNumber",
|
||||
table: "Candidates",
|
||||
type: "longtext",
|
||||
nullable: true,
|
||||
comment: "เลขประจำตัวสอบ")
|
||||
.Annotation("MySql:CharSet", "utf8mb4");
|
||||
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "Point",
|
||||
table: "Candidates",
|
||||
type: "longtext",
|
||||
nullable: true,
|
||||
comment: "คะแนน")
|
||||
.Annotation("MySql:CharSet", "utf8mb4");
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropColumn(
|
||||
name: "ExamIdenNumber",
|
||||
table: "Candidates");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "Point",
|
||||
table: "Candidates");
|
||||
}
|
||||
}
|
||||
}
|
||||
1592
Migrations/20230405104643_Update table Candidate add ExamIdenNumber2.Designer.cs
generated
Normal file
1592
Migrations/20230405104643_Update table Candidate add ExamIdenNumber2.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -0,0 +1,30 @@
|
|||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace BMA.EHR.Recurit.Exam.Service.Migrations
|
||||
{
|
||||
/// <inheritdoc />
|
||||
public partial class UpdatetableCandidateaddExamIdenNumber2 : Migration
|
||||
{
|
||||
/// <inheritdoc />
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.AddColumn<bool>(
|
||||
name: "SetSeat",
|
||||
table: "Candidates",
|
||||
type: "tinyint(1)",
|
||||
nullable: false,
|
||||
defaultValue: false,
|
||||
comment: "เช็คอัพคะแนน");
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropColumn(
|
||||
name: "SetSeat",
|
||||
table: "Candidates");
|
||||
}
|
||||
}
|
||||
}
|
||||
1592
Migrations/20230405104915_Update table Candidate add setseat.Designer.cs
generated
Normal file
1592
Migrations/20230405104915_Update table Candidate add setseat.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -0,0 +1,42 @@
|
|||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace BMA.EHR.Recurit.Exam.Service.Migrations
|
||||
{
|
||||
/// <inheritdoc />
|
||||
public partial class UpdatetableCandidateaddsetseat : Migration
|
||||
{
|
||||
/// <inheritdoc />
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropColumn(
|
||||
name: "SetSeat",
|
||||
table: "Candidates");
|
||||
|
||||
migrationBuilder.AddColumn<bool>(
|
||||
name: "SetSeat",
|
||||
table: "PeriodExams",
|
||||
type: "tinyint(1)",
|
||||
nullable: false,
|
||||
defaultValue: false,
|
||||
comment: "เช็คอัพคะแนน");
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropColumn(
|
||||
name: "SetSeat",
|
||||
table: "PeriodExams");
|
||||
|
||||
migrationBuilder.AddColumn<bool>(
|
||||
name: "SetSeat",
|
||||
table: "Candidates",
|
||||
type: "tinyint(1)",
|
||||
nullable: false,
|
||||
defaultValue: false,
|
||||
comment: "เช็คอัพคะแนน");
|
||||
}
|
||||
}
|
||||
}
|
||||
1600
Migrations/20230405134749_Update table Candidate add id position tpye.Designer.cs
generated
Normal file
1600
Migrations/20230405134749_Update table Candidate add id position tpye.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -0,0 +1,30 @@
|
|||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace BMA.EHR.Recurit.Exam.Service.Migrations
|
||||
{
|
||||
/// <inheritdoc />
|
||||
public partial class UpdatetableCandidateaddidpositiontpye : Migration
|
||||
{
|
||||
/// <inheritdoc />
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "TypeId",
|
||||
table: "PositionExams",
|
||||
type: "longtext",
|
||||
nullable: true,
|
||||
comment: "Id ประเภทแบบฟอร์ม")
|
||||
.Annotation("MySql:CharSet", "utf8mb4");
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropColumn(
|
||||
name: "TypeId",
|
||||
table: "PositionExams");
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue