ปรับโครงสร้างระบบ ให้รองรับ การไปช่วยปฏิบัติงาน
This commit is contained in:
31
Migrations/25640309093443_UpdateEvaGroup01.cs
Normal file
31
Migrations/25640309093443_UpdateEvaGroup01.cs
Normal file
@@ -0,0 +1,31 @@
|
||||
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");
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user