This commit is contained in:
parent
b4cc522fef
commit
0065468568
6 changed files with 21310 additions and 27 deletions
|
|
@ -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: "ตำแหน่งปัจจุบัน เงินเดือน");
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue