Files
WMS/HHWMS.Web/Migrations/20260307090906_mqtt4.cs
T

28 lines
761 B
C#

using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace HHWMS.Web.Migrations
{
public partial class mqtt4 : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<string>(
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");
}
}
}