เพิ่มฟิล ตามที่เพลงขอ และเติมที่จำเป็น

This commit is contained in:
Nakorn Rientrakrunchai
2020-12-11 19:26:58 +07:00
parent 8df0daba91
commit f891f9dda2
13 changed files with 1090 additions and 241 deletions

View File

@@ -0,0 +1,50 @@
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");
}
}
}