Files
hrm_eva/Migrations/20220502040427_AddFinalApprover.cs

63 lines
2.0 KiB
C#

using System;
using Microsoft.EntityFrameworkCore.Migrations;
namespace tb320eva.Migrations
{
public partial class AddFinalApprover : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<string>(
name: "quota_final_status",
table: "eva_adjust_postponement",
maxLength: 5,
nullable: true);
migrationBuilder.AddColumn<int>(
name: "quota_final_status_by",
table: "eva_adjust_postponement",
maxLength: 255,
nullable: true);
migrationBuilder.AddColumn<DateTime>(
name: "quota_final_status_date",
table: "eva_adjust_postponement",
nullable: true);
migrationBuilder.AddColumn<string>(
name: "quota_final_status_note",
table: "eva_adjust_postponement",
maxLength: 1000,
nullable: true);
migrationBuilder.AddColumn<int>(
name: "quota_status_submit_to",
table: "eva_adjust_postponement",
nullable: true);
}
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "quota_final_status",
table: "eva_adjust_postponement");
migrationBuilder.DropColumn(
name: "quota_final_status_by",
table: "eva_adjust_postponement");
migrationBuilder.DropColumn(
name: "quota_final_status_date",
table: "eva_adjust_postponement");
migrationBuilder.DropColumn(
name: "quota_final_status_note",
table: "eva_adjust_postponement");
migrationBuilder.DropColumn(
name: "quota_status_submit_to",
table: "eva_adjust_postponement");
}
}
}