Files
hrm_eva/Migrations/20210314055932_UpdatePostponementDetail.cs

51 lines
1.6 KiB
C#

using Microsoft.EntityFrameworkCore.Migrations;
namespace tb320eva.Migrations
{
public partial class UpdatePostponementDetail : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<decimal>(
name: "achievement_final",
table: "eva_adjust_postponement_detail",
nullable: true);
migrationBuilder.AddColumn<decimal>(
name: "competency_final",
table: "eva_adjust_postponement_detail",
nullable: true);
migrationBuilder.AddColumn<string>(
name: "level_score_final",
table: "eva_adjust_postponement_detail",
maxLength: 255,
nullable: true);
migrationBuilder.AddColumn<decimal>(
name: "score_final",
table: "eva_adjust_postponement_detail",
nullable: true);
}
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "achievement_final",
table: "eva_adjust_postponement_detail");
migrationBuilder.DropColumn(
name: "competency_final",
table: "eva_adjust_postponement_detail");
migrationBuilder.DropColumn(
name: "level_score_final",
table: "eva_adjust_postponement_detail");
migrationBuilder.DropColumn(
name: "score_final",
table: "eva_adjust_postponement_detail");
}
}
}