เพิ่มคอลัม เงินประจำตำแหน่ง และค่าตอบแทน รายเดือน
This commit is contained in:
1075
Migrations/20210708074957_Updatesalary_cylinder.Designer.cs
generated
Normal file
1075
Migrations/20210708074957_Updatesalary_cylinder.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load Diff
31
Migrations/20210708074957_Updatesalary_cylinder.cs
Normal file
31
Migrations/20210708074957_Updatesalary_cylinder.cs
Normal file
@@ -0,0 +1,31 @@
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
namespace tb320eva.Migrations
|
||||
{
|
||||
public partial class Updatesalary_cylinder : Migration
|
||||
{
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.AddColumn<decimal>(
|
||||
name: "monthly_compensation",
|
||||
table: "eva_salary_cylinder",
|
||||
nullable: true);
|
||||
|
||||
migrationBuilder.AddColumn<decimal>(
|
||||
name: "position_allowance",
|
||||
table: "eva_salary_cylinder",
|
||||
nullable: true);
|
||||
}
|
||||
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropColumn(
|
||||
name: "monthly_compensation",
|
||||
table: "eva_salary_cylinder");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "position_allowance",
|
||||
table: "eva_salary_cylinder");
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -929,6 +929,10 @@ namespace tb320eva.Migrations
|
||||
|
||||
b.Property<decimal?>("middle");
|
||||
|
||||
b.Property<decimal?>("monthly_compensation");
|
||||
|
||||
b.Property<decimal?>("position_allowance");
|
||||
|
||||
b.Property<int?>("position_level");
|
||||
|
||||
b.Property<int?>("position_type");
|
||||
|
||||
Reference in New Issue
Block a user