Files
hrm_eva/Migrations/25630817055844_AddSupervisor1A2AField.cs

232 lines
8.0 KiB
C#

using Microsoft.EntityFrameworkCore.Migrations;
namespace tb320eva.Migrations
{
public partial class AddSupervisor1A2AField : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<decimal>(
name: "score3",
table: "eva_evaluation_behavior",
nullable: true);
migrationBuilder.AddColumn<decimal>(
name: "score4",
table: "eva_evaluation_behavior",
nullable: true);
migrationBuilder.AddColumn<decimal>(
name: "sumary3",
table: "eva_evaluation_behavior",
nullable: true);
migrationBuilder.AddColumn<decimal>(
name: "sumary4",
table: "eva_evaluation_behavior",
nullable: true);
migrationBuilder.AddColumn<decimal>(
name: "score3",
table: "eva_evaluation_achievement",
nullable: true);
migrationBuilder.AddColumn<decimal>(
name: "score4",
table: "eva_evaluation_achievement",
nullable: true);
migrationBuilder.AddColumn<decimal>(
name: "sumary3",
table: "eva_evaluation_achievement",
nullable: true);
migrationBuilder.AddColumn<decimal>(
name: "sumary4",
table: "eva_evaluation_achievement",
nullable: true);
migrationBuilder.AddColumn<decimal>(
name: "Final_summary_competency_supervisor1A",
table: "eva_create_evaluation_detail",
nullable: true);
migrationBuilder.AddColumn<decimal>(
name: "Final_summary_competency_supervisor2A",
table: "eva_create_evaluation_detail",
nullable: true);
migrationBuilder.AddColumn<decimal>(
name: "Final_summary_supervisor1A",
table: "eva_create_evaluation_detail",
nullable: true);
migrationBuilder.AddColumn<decimal>(
name: "Final_summary_supervisor2A",
table: "eva_create_evaluation_detail",
nullable: true);
migrationBuilder.AddColumn<decimal>(
name: "achievement_supervisor1A",
table: "eva_create_evaluation_detail",
nullable: true);
migrationBuilder.AddColumn<decimal>(
name: "achievement_supervisor2A",
table: "eva_create_evaluation_detail",
nullable: true);
migrationBuilder.AddColumn<decimal>(
name: "competency_supervisor1A",
table: "eva_create_evaluation_detail",
nullable: true);
migrationBuilder.AddColumn<decimal>(
name: "competency_supervisor2A",
table: "eva_create_evaluation_detail",
nullable: true);
migrationBuilder.AddColumn<string>(
name: "level_score_supervisor1A",
table: "eva_create_evaluation_detail",
maxLength: 255,
nullable: true);
migrationBuilder.AddColumn<string>(
name: "level_score_supervisor2A",
table: "eva_create_evaluation_detail",
maxLength: 255,
nullable: true);
migrationBuilder.AddColumn<decimal>(
name: "score_supervisor1A",
table: "eva_create_evaluation_detail",
nullable: true);
migrationBuilder.AddColumn<decimal>(
name: "score_supervisor2A",
table: "eva_create_evaluation_detail",
nullable: true);
migrationBuilder.AddColumn<decimal>(
name: "total_summary_competency_supervisor1A",
table: "eva_create_evaluation_detail",
nullable: true);
migrationBuilder.AddColumn<decimal>(
name: "total_summary_competency_supervisor2A",
table: "eva_create_evaluation_detail",
nullable: true);
migrationBuilder.AddColumn<decimal>(
name: "total_summary_supervisor1A",
table: "eva_create_evaluation_detail",
nullable: true);
migrationBuilder.AddColumn<decimal>(
name: "total_summary_supervisor2A",
table: "eva_create_evaluation_detail",
nullable: true);
}
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "score3",
table: "eva_evaluation_behavior");
migrationBuilder.DropColumn(
name: "score4",
table: "eva_evaluation_behavior");
migrationBuilder.DropColumn(
name: "sumary3",
table: "eva_evaluation_behavior");
migrationBuilder.DropColumn(
name: "sumary4",
table: "eva_evaluation_behavior");
migrationBuilder.DropColumn(
name: "score3",
table: "eva_evaluation_achievement");
migrationBuilder.DropColumn(
name: "score4",
table: "eva_evaluation_achievement");
migrationBuilder.DropColumn(
name: "sumary3",
table: "eva_evaluation_achievement");
migrationBuilder.DropColumn(
name: "sumary4",
table: "eva_evaluation_achievement");
migrationBuilder.DropColumn(
name: "Final_summary_competency_supervisor1A",
table: "eva_create_evaluation_detail");
migrationBuilder.DropColumn(
name: "Final_summary_competency_supervisor2A",
table: "eva_create_evaluation_detail");
migrationBuilder.DropColumn(
name: "Final_summary_supervisor1A",
table: "eva_create_evaluation_detail");
migrationBuilder.DropColumn(
name: "Final_summary_supervisor2A",
table: "eva_create_evaluation_detail");
migrationBuilder.DropColumn(
name: "achievement_supervisor1A",
table: "eva_create_evaluation_detail");
migrationBuilder.DropColumn(
name: "achievement_supervisor2A",
table: "eva_create_evaluation_detail");
migrationBuilder.DropColumn(
name: "competency_supervisor1A",
table: "eva_create_evaluation_detail");
migrationBuilder.DropColumn(
name: "competency_supervisor2A",
table: "eva_create_evaluation_detail");
migrationBuilder.DropColumn(
name: "level_score_supervisor1A",
table: "eva_create_evaluation_detail");
migrationBuilder.DropColumn(
name: "level_score_supervisor2A",
table: "eva_create_evaluation_detail");
migrationBuilder.DropColumn(
name: "score_supervisor1A",
table: "eva_create_evaluation_detail");
migrationBuilder.DropColumn(
name: "score_supervisor2A",
table: "eva_create_evaluation_detail");
migrationBuilder.DropColumn(
name: "total_summary_competency_supervisor1A",
table: "eva_create_evaluation_detail");
migrationBuilder.DropColumn(
name: "total_summary_competency_supervisor2A",
table: "eva_create_evaluation_detail");
migrationBuilder.DropColumn(
name: "total_summary_supervisor1A",
table: "eva_create_evaluation_detail");
migrationBuilder.DropColumn(
name: "total_summary_supervisor2A",
table: "eva_create_evaluation_detail");
}
}
}