using Microsoft.EntityFrameworkCore.Migrations; #nullable disable namespace JiShe.IoT.Migrations { /// public partial class update20251231 : Migration { /// protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.AddColumn( name: "UpgradeDescription", table: "ServiceProDeviceUpgradeRecord", type: "varchar(512)", maxLength: 512, nullable: false, defaultValue: "", comment: "升级描述") .Annotation("MySql:CharSet", "utf8mb4"); } /// protected override void Down(MigrationBuilder migrationBuilder) { migrationBuilder.DropColumn( name: "UpgradeDescription", table: "ServiceProDeviceUpgradeRecord"); } } }