mh_jy_safe/APT.Data.Migrations/Migrations/20260509075107_wyw2026050902.cs

47 lines
1.4 KiB
C#
Raw Normal View History

using Microsoft.EntityFrameworkCore.Migrations;
namespace APT.Data.Migrations.Migrations
{
public partial class wyw2026050902 : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AlterColumn<string>(
name: "TITLE",
table: "T_PF_BITITLE",
type: "nvarchar(1500)",
maxLength: 1500,
nullable: true,
oldClrType: typeof(string),
oldType: "nvarchar(1000)",
oldMaxLength: 1000,
oldNullable: true);
migrationBuilder.AddColumn<string>(
name: "TITLE_SHOW",
table: "T_PF_BITITLE",
type: "nvarchar(500)",
maxLength: 500,
nullable: true);
}
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "TITLE_SHOW",
table: "T_PF_BITITLE");
migrationBuilder.AlterColumn<string>(
name: "TITLE",
table: "T_PF_BITITLE",
type: "nvarchar(1000)",
maxLength: 1000,
nullable: true,
oldClrType: typeof(string),
oldType: "nvarchar(1500)",
oldMaxLength: 1500,
oldNullable: true);
}
}
}