This commit is contained in:
parent
b4cc522fef
commit
0065468568
6 changed files with 21310 additions and 27 deletions
21243
BMA.EHR.Infrastructure/Migrations/20251117105514_update_table_PlacementProfile_and_Candidate.Designer.cs
generated
Normal file
21243
BMA.EHR.Infrastructure/Migrations/20251117105514_update_table_PlacementProfile_and_Candidate.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -0,0 +1,40 @@
|
|||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace BMA.EHR.Infrastructure.Migrations
|
||||
{
|
||||
/// <inheritdoc />
|
||||
public partial class update_table_PlacementProfile_and_Candidate : Migration
|
||||
{
|
||||
/// <inheritdoc />
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.AlterColumn<double>(
|
||||
name: "OccupationSalary",
|
||||
table: "PlacementProfiles",
|
||||
type: "double",
|
||||
nullable: true,
|
||||
comment: "ตำแหน่งปัจจุบัน เงินเดือน",
|
||||
oldClrType: typeof(int),
|
||||
oldType: "int",
|
||||
oldNullable: true,
|
||||
oldComment: "ตำแหน่งปัจจุบัน เงินเดือน");
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.AlterColumn<int>(
|
||||
name: "OccupationSalary",
|
||||
table: "PlacementProfiles",
|
||||
type: "int",
|
||||
nullable: true,
|
||||
comment: "ตำแหน่งปัจจุบัน เงินเดือน",
|
||||
oldClrType: typeof(double),
|
||||
oldType: "double",
|
||||
oldNullable: true,
|
||||
oldComment: "ตำแหน่งปัจจุบัน เงินเดือน");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -12794,8 +12794,8 @@ namespace BMA.EHR.Infrastructure.Migrations
|
|||
.HasColumnType("longtext")
|
||||
.HasComment("ตำแหน่งปัจจุบัน ประเภทราชการ");
|
||||
|
||||
b.Property<int?>("OccupationSalary")
|
||||
.HasColumnType("int")
|
||||
b.Property<double?>("OccupationSalary")
|
||||
.HasColumnType("double")
|
||||
.HasComment("ตำแหน่งปัจจุบัน เงินเดือน");
|
||||
|
||||
b.Property<string>("OccupationTelephone")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue