数据推送
This commit is contained in:
parent
86de4c7e50
commit
f83eccf1b9
4327
src/JiShe.IoT.EntityFrameworkCore/Migrations/20260311060722_alterOneNETProductInfos20260311.Designer.cs
generated
Normal file
4327
src/JiShe.IoT.EntityFrameworkCore/Migrations/20260311060722_alterOneNETProductInfos20260311.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,51 @@
|
|||||||
|
using Microsoft.EntityFrameworkCore.Migrations;
|
||||||
|
|
||||||
|
#nullable disable
|
||||||
|
|
||||||
|
namespace JiShe.IoT.Migrations
|
||||||
|
{
|
||||||
|
/// <inheritdoc />
|
||||||
|
public partial class alterOneNETProductInfos20260311 : Migration
|
||||||
|
{
|
||||||
|
/// <inheritdoc />
|
||||||
|
protected override void Up(MigrationBuilder migrationBuilder)
|
||||||
|
{
|
||||||
|
migrationBuilder.AlterColumn<string>(
|
||||||
|
name: "DataPushInfo",
|
||||||
|
table: "ServiceProOneNETProductInfo",
|
||||||
|
type: "text",
|
||||||
|
nullable: true,
|
||||||
|
comment: "数据推送信息,HTTP推送就是推送路径,Redis推送主题或者key",
|
||||||
|
oldClrType: typeof(string),
|
||||||
|
oldType: "text",
|
||||||
|
oldNullable: true,
|
||||||
|
oldComment: "数据推送信息,HTTP推送就是推送地址,Reist推送主题或者key");
|
||||||
|
|
||||||
|
migrationBuilder.AddColumn<string>(
|
||||||
|
name: "DataPushServer",
|
||||||
|
table: "ServiceProOneNETProductInfo",
|
||||||
|
type: "text",
|
||||||
|
nullable: true,
|
||||||
|
comment: "数据推送服务地址信息,例如HTTP地址:http://192.168.1.1:8080,Redis订阅地址:192.168.1.1:6379");
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <inheritdoc />
|
||||||
|
protected override void Down(MigrationBuilder migrationBuilder)
|
||||||
|
{
|
||||||
|
migrationBuilder.DropColumn(
|
||||||
|
name: "DataPushServer",
|
||||||
|
table: "ServiceProOneNETProductInfo");
|
||||||
|
|
||||||
|
migrationBuilder.AlterColumn<string>(
|
||||||
|
name: "DataPushInfo",
|
||||||
|
table: "ServiceProOneNETProductInfo",
|
||||||
|
type: "text",
|
||||||
|
nullable: true,
|
||||||
|
comment: "数据推送信息,HTTP推送就是推送地址,Reist推送主题或者key",
|
||||||
|
oldClrType: typeof(string),
|
||||||
|
oldType: "text",
|
||||||
|
oldNullable: true,
|
||||||
|
oldComment: "数据推送信息,HTTP推送就是推送路径,Redis推送主题或者key");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@ -2427,7 +2427,11 @@ namespace JiShe.IoT.Migrations
|
|||||||
|
|
||||||
b.Property<string>("DataPushInfo")
|
b.Property<string>("DataPushInfo")
|
||||||
.HasColumnType("text")
|
.HasColumnType("text")
|
||||||
.HasComment("数据推送信息,HTTP推送就是推送地址,Reist推送主题或者key");
|
.HasComment("数据推送信息,HTTP推送就是推送路径,Redis推送主题或者key");
|
||||||
|
|
||||||
|
b.Property<string>("DataPushServer")
|
||||||
|
.HasColumnType("text")
|
||||||
|
.HasComment("数据推送服务地址信息,例如HTTP地址:http://192.168.1.1:8080,Redis订阅地址:192.168.1.1:6379");
|
||||||
|
|
||||||
b.Property<int?>("DataPushType")
|
b.Property<int?>("DataPushType")
|
||||||
.HasColumnType("integer")
|
.HasColumnType("integer")
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user