优化OneNET产品物模型

This commit is contained in:
ChenYi 2025-12-01 17:12:34 +08:00
parent 2e66968e86
commit 1b72795a88
3 changed files with 6 additions and 4 deletions

View File

@ -13,7 +13,7 @@ using Volo.Abp.EntityFrameworkCore;
namespace JiShe.IoT.Migrations
{
[DbContext(typeof(IoTDbContext))]
[Migration("20251201031653_InitialCreate")]
[Migration("20251201091206_InitialCreate")]
partial class InitialCreate
{
/// <inheritdoc />
@ -1952,7 +1952,8 @@ namespace JiShe.IoT.Migrations
.HasComment("租户ID");
b.Property<string>("ThingModelInfos")
.HasColumnType("longtext");
.HasColumnType("longtext")
.HasComment("平台物模型信息");
b.HasKey("Id");

View File

@ -1176,7 +1176,7 @@ namespace JiShe.IoT.Migrations
.Annotation("MySql:CharSet", "utf8mb4"),
CommunicationAddressTLS = table.Column<string>(type: "varchar(256)", maxLength: 256, nullable: true, comment: "TLS通讯服务地址")
.Annotation("MySql:CharSet", "utf8mb4"),
ThingModelInfos = table.Column<string>(type: "longtext", nullable: true)
ThingModelInfos = table.Column<string>(type: "longtext", nullable: true, comment: "平台物模型信息")
.Annotation("MySql:CharSet", "utf8mb4"),
ConcurrencyStamp = table.Column<string>(type: "varchar(40)", maxLength: 40, nullable: false)
.Annotation("MySql:CharSet", "utf8mb4"),

View File

@ -1949,7 +1949,8 @@ namespace JiShe.IoT.Migrations
.HasComment("租户ID");
b.Property<string>("ThingModelInfos")
.HasColumnType("longtext");
.HasColumnType("longtext")
.HasComment("平台物模型信息");
b.HasKey("Id");