using Microsoft.EntityFrameworkCore.Migrations; #nullable disable namespace HHWMS.Web.Migrations { public partial class mqtt4 : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.AddColumn( name: "ParsedData", table: "MqttMessageRecord", type: "longtext", nullable: true, comment: "解析后数据") .Annotation("MySql:CharSet", "utf8mb4"); } protected override void Down(MigrationBuilder migrationBuilder) { migrationBuilder.DropColumn( name: "ParsedData", table: "MqttMessageRecord"); } } }