fix defect 25-04-2023
This commit is contained in:
parent
de70220236
commit
2bd62de015
26 changed files with 3131 additions and 155 deletions
1364
Migrations/20230425122046_Add Field Number to Score.Designer.cs
generated
Normal file
1364
Migrations/20230425122046_Add Field Number to Score.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load diff
32
Migrations/20230425122046_Add Field Number to Score.cs
Normal file
32
Migrations/20230425122046_Add Field Number to Score.cs
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace BMA.EHR.Recruit.Service.Migrations
|
||||
{
|
||||
/// <inheritdoc />
|
||||
public partial class AddFieldNumbertoScore : Migration
|
||||
{
|
||||
/// <inheritdoc />
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "Number",
|
||||
table: "RecruitScores",
|
||||
type: "varchar(200)",
|
||||
maxLength: 200,
|
||||
nullable: false,
|
||||
defaultValue: "",
|
||||
comment: "ลำดับที่สอบได้")
|
||||
.Annotation("MySql:CharSet", "utf8mb4");
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropColumn(
|
||||
name: "Number",
|
||||
table: "RecruitScores");
|
||||
}
|
||||
}
|
||||
}
|
||||
1364
Migrations/20230425132757_Change Number Field.Designer.cs
generated
Normal file
1364
Migrations/20230425132757_Change Number Field.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load diff
22
Migrations/20230425132757_Change Number Field.cs
Normal file
22
Migrations/20230425132757_Change Number Field.cs
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace BMA.EHR.Recruit.Service.Migrations
|
||||
{
|
||||
/// <inheritdoc />
|
||||
public partial class ChangeNumberField : Migration
|
||||
{
|
||||
/// <inheritdoc />
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1087,6 +1087,12 @@ namespace BMA.EHR.Recruit.Service.Migrations
|
|||
.HasMaxLength(200)
|
||||
.HasColumnType("varchar(200)");
|
||||
|
||||
b.Property<string>("Number")
|
||||
.IsRequired()
|
||||
.HasMaxLength(200)
|
||||
.HasColumnType("varchar(200)")
|
||||
.HasComment("ลำดับที่สอบได้");
|
||||
|
||||
b.Property<double>("PercentageA")
|
||||
.HasColumnType("double");
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue