ปรับปรุง https://app.clickup.com/t/1me7cdm
This commit is contained in:
1096
Migrations/20211005133544_AddRewardSalary.Designer.cs
generated
Normal file
1096
Migrations/20211005133544_AddRewardSalary.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load Diff
31
Migrations/20211005133544_AddRewardSalary.cs
Normal file
31
Migrations/20211005133544_AddRewardSalary.cs
Normal file
@@ -0,0 +1,31 @@
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
namespace tb320eva.Migrations
|
||||
{
|
||||
public partial class AddRewardSalary : Migration
|
||||
{
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.AddColumn<decimal>(
|
||||
name: "reward_new",
|
||||
table: "eva_adjust_postponement_detail",
|
||||
nullable: true);
|
||||
|
||||
migrationBuilder.AddColumn<decimal>(
|
||||
name: "reward_old",
|
||||
table: "eva_adjust_postponement_detail",
|
||||
nullable: true);
|
||||
}
|
||||
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropColumn(
|
||||
name: "reward_new",
|
||||
table: "eva_adjust_postponement_detail");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "reward_old",
|
||||
table: "eva_adjust_postponement_detail");
|
||||
}
|
||||
}
|
||||
}
|
||||
1098
Migrations/20211005143227_AddRewardSalary2.Designer.cs
generated
Normal file
1098
Migrations/20211005143227_AddRewardSalary2.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load Diff
22
Migrations/20211005143227_AddRewardSalary2.cs
Normal file
22
Migrations/20211005143227_AddRewardSalary2.cs
Normal file
@@ -0,0 +1,22 @@
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
namespace tb320eva.Migrations
|
||||
{
|
||||
public partial class AddRewardSalary2 : Migration
|
||||
{
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.AddColumn<decimal>(
|
||||
name: "reward_new2",
|
||||
table: "eva_adjust_postponement_detail",
|
||||
nullable: true);
|
||||
}
|
||||
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropColumn(
|
||||
name: "reward_new2",
|
||||
table: "eva_adjust_postponement_detail");
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -171,6 +171,12 @@ namespace tb320eva.Migrations
|
||||
b.Property<string>("remark")
|
||||
.HasMaxLength(1000);
|
||||
|
||||
b.Property<decimal?>("reward_new");
|
||||
|
||||
b.Property<decimal?>("reward_new2");
|
||||
|
||||
b.Property<decimal?>("reward_old");
|
||||
|
||||
b.Property<decimal?>("sarary");
|
||||
|
||||
b.Property<decimal?>("score_final");
|
||||
|
||||
Reference in New Issue
Block a user