50 lines
1.5 KiB
C#
50 lines
1.5 KiB
C#
using Microsoft.EntityFrameworkCore.Migrations;
|
|
|
|
namespace tb320eva.Migrations
|
|
{
|
|
public partial class NewProcess2 : Migration
|
|
{
|
|
protected override void Up(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.AddColumn<decimal>(
|
|
name: "score2",
|
|
table: "eva_evaluation_behavior",
|
|
nullable: true);
|
|
|
|
migrationBuilder.AddColumn<decimal>(
|
|
name: "sumary2",
|
|
table: "eva_evaluation_behavior",
|
|
nullable: true);
|
|
|
|
migrationBuilder.AddColumn<decimal>(
|
|
name: "score2",
|
|
table: "eva_evaluation_achievement",
|
|
nullable: true);
|
|
|
|
migrationBuilder.AddColumn<decimal>(
|
|
name: "sumary2",
|
|
table: "eva_evaluation_achievement",
|
|
nullable: true);
|
|
}
|
|
|
|
protected override void Down(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.DropColumn(
|
|
name: "score2",
|
|
table: "eva_evaluation_behavior");
|
|
|
|
migrationBuilder.DropColumn(
|
|
name: "sumary2",
|
|
table: "eva_evaluation_behavior");
|
|
|
|
migrationBuilder.DropColumn(
|
|
name: "score2",
|
|
table: "eva_evaluation_achievement");
|
|
|
|
migrationBuilder.DropColumn(
|
|
name: "sumary2",
|
|
table: "eva_evaluation_achievement");
|
|
}
|
|
}
|
|
}
|