81 lines
2.6 KiB
C#
81 lines
2.6 KiB
C#
using System;
|
|
using Microsoft.EntityFrameworkCore.Migrations;
|
|
|
|
namespace tb320eva.Migrations
|
|
{
|
|
public partial class AddX111 : Migration
|
|
{
|
|
protected override void Up(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.AddColumn<string>(
|
|
name: "status_supervisor3A",
|
|
table: "eva_create_evaluation_detail",
|
|
maxLength: 1,
|
|
nullable: true);
|
|
|
|
migrationBuilder.AddColumn<DateTime>(
|
|
name: "status_supervisor3A_click_date",
|
|
table: "eva_create_evaluation_detail",
|
|
nullable: true);
|
|
|
|
migrationBuilder.AddColumn<int>(
|
|
name: "supervisor3A",
|
|
table: "eva_create_evaluation_detail",
|
|
nullable: true);
|
|
|
|
migrationBuilder.AddColumn<DateTime>(
|
|
name: "supervisor3A_date",
|
|
table: "eva_create_evaluation_detail",
|
|
nullable: true);
|
|
|
|
migrationBuilder.AddColumn<string>(
|
|
name: "supervisor3A_remark",
|
|
table: "eva_create_evaluation_detail",
|
|
maxLength: 1000,
|
|
nullable: true);
|
|
|
|
migrationBuilder.AddColumn<string>(
|
|
name: "supervisor3A_result",
|
|
table: "eva_create_evaluation_detail",
|
|
maxLength: 1,
|
|
nullable: true);
|
|
|
|
migrationBuilder.AddColumn<int>(
|
|
name: "supervisor3_id",
|
|
table: "eva_create_evaluation_detail",
|
|
nullable: true);
|
|
}
|
|
|
|
protected override void Down(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.DropColumn(
|
|
name: "status_supervisor3A",
|
|
table: "eva_create_evaluation_detail");
|
|
|
|
migrationBuilder.DropColumn(
|
|
name: "status_supervisor3A_click_date",
|
|
table: "eva_create_evaluation_detail");
|
|
|
|
migrationBuilder.DropColumn(
|
|
name: "supervisor3A",
|
|
table: "eva_create_evaluation_detail");
|
|
|
|
migrationBuilder.DropColumn(
|
|
name: "supervisor3A_date",
|
|
table: "eva_create_evaluation_detail");
|
|
|
|
migrationBuilder.DropColumn(
|
|
name: "supervisor3A_remark",
|
|
table: "eva_create_evaluation_detail");
|
|
|
|
migrationBuilder.DropColumn(
|
|
name: "supervisor3A_result",
|
|
table: "eva_create_evaluation_detail");
|
|
|
|
migrationBuilder.DropColumn(
|
|
name: "supervisor3_id",
|
|
table: "eva_create_evaluation_detail");
|
|
}
|
|
}
|
|
}
|