87 lines
3.0 KiB
C#
87 lines
3.0 KiB
C#
using Microsoft.EntityFrameworkCore.Migrations;
|
|
|
|
namespace tb320eva.Migrations
|
|
{
|
|
public partial class AddEx01 : Migration
|
|
{
|
|
protected override void Up(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.AddColumn<decimal>(
|
|
name: "Final_summary_competency_supervisor3A",
|
|
table: "eva_create_evaluation_detail",
|
|
nullable: true);
|
|
|
|
migrationBuilder.AddColumn<decimal>(
|
|
name: "Final_summary_supervisor3A",
|
|
table: "eva_create_evaluation_detail",
|
|
nullable: true);
|
|
|
|
migrationBuilder.AddColumn<decimal>(
|
|
name: "achievement_supervisor3A",
|
|
table: "eva_create_evaluation_detail",
|
|
nullable: true);
|
|
|
|
migrationBuilder.AddColumn<decimal>(
|
|
name: "competency_supervisor3A",
|
|
table: "eva_create_evaluation_detail",
|
|
nullable: true);
|
|
|
|
migrationBuilder.AddColumn<string>(
|
|
name: "level_score_supervisor3A",
|
|
table: "eva_create_evaluation_detail",
|
|
maxLength: 255,
|
|
nullable: true);
|
|
|
|
migrationBuilder.AddColumn<decimal>(
|
|
name: "score_supervisor3A",
|
|
table: "eva_create_evaluation_detail",
|
|
nullable: true);
|
|
|
|
migrationBuilder.AddColumn<decimal>(
|
|
name: "total_summary_competency_supervisor3A",
|
|
table: "eva_create_evaluation_detail",
|
|
nullable: true);
|
|
|
|
migrationBuilder.AddColumn<decimal>(
|
|
name: "total_summary_supervisor3A",
|
|
table: "eva_create_evaluation_detail",
|
|
nullable: true);
|
|
}
|
|
|
|
protected override void Down(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.DropColumn(
|
|
name: "Final_summary_competency_supervisor3A",
|
|
table: "eva_create_evaluation_detail");
|
|
|
|
migrationBuilder.DropColumn(
|
|
name: "Final_summary_supervisor3A",
|
|
table: "eva_create_evaluation_detail");
|
|
|
|
migrationBuilder.DropColumn(
|
|
name: "achievement_supervisor3A",
|
|
table: "eva_create_evaluation_detail");
|
|
|
|
migrationBuilder.DropColumn(
|
|
name: "competency_supervisor3A",
|
|
table: "eva_create_evaluation_detail");
|
|
|
|
migrationBuilder.DropColumn(
|
|
name: "level_score_supervisor3A",
|
|
table: "eva_create_evaluation_detail");
|
|
|
|
migrationBuilder.DropColumn(
|
|
name: "score_supervisor3A",
|
|
table: "eva_create_evaluation_detail");
|
|
|
|
migrationBuilder.DropColumn(
|
|
name: "total_summary_competency_supervisor3A",
|
|
table: "eva_create_evaluation_detail");
|
|
|
|
migrationBuilder.DropColumn(
|
|
name: "total_summary_supervisor3A",
|
|
table: "eva_create_evaluation_detail");
|
|
}
|
|
}
|
|
}
|