Files
hrm_eva/Migrations/25640309093443_UpdateEvaGroup01.cs

32 lines
917 B
C#

using Microsoft.EntityFrameworkCore.Migrations;
namespace tb320eva.Migrations
{
public partial class UpdateEvaGroup01 : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<int>(
name: "main_dept_id",
table: "eva_evaluation_group",
nullable: true);
migrationBuilder.AddColumn<decimal>(
name: "percentage",
table: "eva_evaluation_group",
nullable: true);
}
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "main_dept_id",
table: "eva_evaluation_group");
migrationBuilder.DropColumn(
name: "percentage",
table: "eva_evaluation_group");
}
}
}