Files
hrm_eva/Migrations/20210827031202_EnhancePlan.cs

33 lines
928 B
C#

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");
}
}
}