51 lines
1.7 KiB
C#
51 lines
1.7 KiB
C#
using Microsoft.EntityFrameworkCore.Migrations;
|
|
|
|
namespace tb320eva.Migrations
|
|
{
|
|
public partial class AddMoreMigrationsField : Migration
|
|
{
|
|
protected override void Up(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.AddColumn<string>(
|
|
name: "migration_eva_result",
|
|
table: "eva_adjust_postponement_detail",
|
|
maxLength: 1000,
|
|
nullable: true);
|
|
|
|
migrationBuilder.AddColumn<decimal>(
|
|
name: "migration_total_score",
|
|
table: "eva_adjust_postponement_detail",
|
|
nullable: true);
|
|
|
|
migrationBuilder.AddColumn<decimal>(
|
|
name: "other_money_at_this_time",
|
|
table: "eva_adjust_postponement_detail",
|
|
nullable: true);
|
|
|
|
migrationBuilder.AddColumn<decimal>(
|
|
name: "position_allowance_at_this_time",
|
|
table: "eva_adjust_postponement_detail",
|
|
nullable: true);
|
|
}
|
|
|
|
protected override void Down(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.DropColumn(
|
|
name: "migration_eva_result",
|
|
table: "eva_adjust_postponement_detail");
|
|
|
|
migrationBuilder.DropColumn(
|
|
name: "migration_total_score",
|
|
table: "eva_adjust_postponement_detail");
|
|
|
|
migrationBuilder.DropColumn(
|
|
name: "other_money_at_this_time",
|
|
table: "eva_adjust_postponement_detail");
|
|
|
|
migrationBuilder.DropColumn(
|
|
name: "position_allowance_at_this_time",
|
|
table: "eva_adjust_postponement_detail");
|
|
}
|
|
}
|
|
}
|