using Microsoft.EntityFrameworkCore.Migrations; namespace APT.Data.Migrations.Migrations { public partial class hmr2025120602 : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.AlterColumn( name: "PHONE", table: "T_FO_SCHEDULING", type: "nvarchar(50)", maxLength: 50, nullable: true, oldClrType: typeof(string), oldType: "nvarchar(500)", oldMaxLength: 500, oldNullable: true); migrationBuilder.AddColumn( name: "REMARK", table: "T_FO_SCHEDULING", type: "nvarchar(500)", maxLength: 500, nullable: true); } protected override void Down(MigrationBuilder migrationBuilder) { migrationBuilder.DropColumn( name: "REMARK", table: "T_FO_SCHEDULING"); migrationBuilder.AlterColumn( name: "PHONE", table: "T_FO_SCHEDULING", type: "nvarchar(500)", maxLength: 500, nullable: true, oldClrType: typeof(string), oldType: "nvarchar(50)", oldMaxLength: 50, oldNullable: true); } } }