Add MQTT runtime control and device data pipeline

This commit is contained in:
zhougf committed 2026-05-31 10:55:22 +08:00
1 parent 96d8309793
commit 8a0aa8f7cb
31 files changed
+30842 -20

No files matched your search

@@ -0,0 +1,70 @@
using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace HHWMS.Web.Migrations
{
public partial class addupdateversion : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<int>(
name: "UpdateVersion",
table: "ShipmentHeader",
type: "int",
nullable: false,
defaultValue: 0);
migrationBuilder.AddColumn<int>(
name: "UpdateVersion",
table: "ShipmentDetail",
type: "int",
nullable: false,
defaultValue: 0);
migrationBuilder.AddColumn<int>(
name: "UpdateVersion",
table: "ReceiptHeader",
type: "int",
nullable: false,
defaultValue: 0);
migrationBuilder.AddColumn<int>(
name: "UpdateVersion",
table: "ReceiptDetail",
type: "int",
nullable: false,
defaultValue: 0);
migrationBuilder.AddColumn<int>(
name: "UpdateVersion",
table: "Inventory",
type: "int",
nullable: false,
defaultValue: 0);
}
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "UpdateVersion",
table: "ShipmentHeader");
migrationBuilder.DropColumn(
name: "UpdateVersion",
table: "ShipmentDetail");
migrationBuilder.DropColumn(
name: "UpdateVersion",
table: "ReceiptHeader");
migrationBuilder.DropColumn(
name: "UpdateVersion",
table: "ReceiptDetail");
migrationBuilder.DropColumn(
name: "UpdateVersion",
table: "Inventory");
}
}
}