35 lines
981 B
C#
35 lines
981 B
C#
using Microsoft.EntityFrameworkCore.Migrations;
|
|
|
|
namespace APT.Data.Migrations.Migrations
|
|
{
|
|
public partial class wyw2025080701 : Migration
|
|
{
|
|
protected override void Up(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.AddColumn<string>(
|
|
name: "INDEX",
|
|
table: "T_PC_INFO_COLOR",
|
|
type: "int",
|
|
nullable: true);
|
|
|
|
migrationBuilder.AddColumn<string>(
|
|
name: "NAME",
|
|
table: "T_PC_INFO_COLOR",
|
|
type: "nvarchar(100)",
|
|
maxLength: 500,
|
|
nullable: true);
|
|
}
|
|
|
|
protected override void Down(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.DropColumn(
|
|
name: "INDEX",
|
|
table: "T_PC_INFO_COLOR");
|
|
|
|
migrationBuilder.DropColumn(
|
|
name: "NAME",
|
|
table: "T_PC_INFO_COLOR");
|
|
}
|
|
}
|
|
}
|