36 lines
1.0 KiB
C#
36 lines
1.0 KiB
C#
using Microsoft.EntityFrameworkCore.Migrations;
|
|
|
|
namespace APT.Data.Migrations.Migrations
|
|
{
|
|
public partial class wyw2025102401 : Migration
|
|
{
|
|
protected override void Up(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.AddColumn<bool>(
|
|
name: "ISHEAD",
|
|
table: "T_PF_APPROVE_TEMP_DETAIL",
|
|
type: "bit",
|
|
nullable: false,
|
|
defaultValue: false);
|
|
|
|
migrationBuilder.AddColumn<string>(
|
|
name: "REJECT_INTERFACE",
|
|
table: "T_PF_APPROVE",
|
|
type: "nvarchar(100)",
|
|
maxLength: 100,
|
|
nullable: true);
|
|
}
|
|
|
|
protected override void Down(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.DropColumn(
|
|
name: "ISHEAD",
|
|
table: "T_PF_APPROVE_TEMP_DETAIL");
|
|
|
|
migrationBuilder.DropColumn(
|
|
name: "REJECT_INTERFACE",
|
|
table: "T_PF_APPROVE");
|
|
}
|
|
}
|
|
}
|