32 lines
1011 B
C#
32 lines
1011 B
C#
using Microsoft.EntityFrameworkCore.Migrations;
|
|
|
|
namespace tb320eva.Migrations
|
|
{
|
|
public partial class AddSpecialCompensation : Migration
|
|
{
|
|
protected override void Up(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.AddColumn<decimal>(
|
|
name: "new_special_compensation",
|
|
table: "eva_adjust_postponement_detail",
|
|
nullable: true);
|
|
|
|
migrationBuilder.AddColumn<decimal>(
|
|
name: "special_compensation",
|
|
table: "eva_adjust_postponement_detail",
|
|
nullable: true);
|
|
}
|
|
|
|
protected override void Down(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.DropColumn(
|
|
name: "new_special_compensation",
|
|
table: "eva_adjust_postponement_detail");
|
|
|
|
migrationBuilder.DropColumn(
|
|
name: "special_compensation",
|
|
table: "eva_adjust_postponement_detail");
|
|
}
|
|
}
|
|
}
|