เพิ่มช่อง วันที่เริ่มลา / สิ้นสุด ลา
This commit is contained in:
1081
Migrations/20210827031202_EnhancePlan.Designer.cs
generated
Normal file
1081
Migrations/20210827031202_EnhancePlan.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load Diff
32
Migrations/20210827031202_EnhancePlan.cs
Normal file
32
Migrations/20210827031202_EnhancePlan.cs
Normal file
@@ -0,0 +1,32 @@
|
||||
using System;
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
namespace tb320eva.Migrations
|
||||
{
|
||||
public partial class EnhancePlan : Migration
|
||||
{
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.AddColumn<DateTime>(
|
||||
name: "end_leave",
|
||||
table: "eva_performance_plan",
|
||||
nullable: true);
|
||||
|
||||
migrationBuilder.AddColumn<DateTime>(
|
||||
name: "start_leave",
|
||||
table: "eva_performance_plan",
|
||||
nullable: true);
|
||||
}
|
||||
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropColumn(
|
||||
name: "end_leave",
|
||||
table: "eva_performance_plan");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "start_leave",
|
||||
table: "eva_performance_plan");
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -838,12 +838,16 @@ namespace tb320eva.Migrations
|
||||
|
||||
b.Property<DateTime>("created");
|
||||
|
||||
b.Property<DateTime?>("end_leave");
|
||||
|
||||
b.Property<int?>("fiscal_year");
|
||||
|
||||
b.Property<bool>("isActive");
|
||||
|
||||
b.Property<decimal?>("percent");
|
||||
|
||||
b.Property<DateTime?>("start_leave");
|
||||
|
||||
b.Property<int?>("theTime");
|
||||
|
||||
b.Property<DateTime>("updated");
|
||||
|
||||
Reference in New Issue
Block a user