Add MQTT runtime control and device data pipeline
This commit is contained in:
1 parent
96d8309793
commit
8a0aa8f7cb
31 files changed
+30842
-20
No files matched your search
@@ -0,0 +1,27 @@
|
||||
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");
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user