Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
IoTSharp
IoTSharp
提交
66e00a65
IoTSharp
项目概览
IoTSharp
/
IoTSharp
11 个月 前同步成功
通知
15
Star
2
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
IoTSharp
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
66e00a65
编写于
2月 14, 2022
作者:
麦壳饼
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Revert "数据库初始化错误"
上级
67b78734
变更
5
展开全部
显示空白变更内容
内联
并排
Showing
5 changed file
with
403 addition
and
2401 deletion
+403
-2401
IoTSharp.Data.MySQL/Migrations/20220209182518_refreshtoken.Designer.cs
....MySQL/Migrations/20220209182518_refreshtoken.Designer.cs
+0
-2321
IoTSharp.Data.MySQL/Migrations/20220209182518_refreshtoken.cs
...harp.Data.MySQL/Migrations/20220209182518_refreshtoken.cs
+0
-51
IoTSharp.Data.MySQL/Migrations/20220212100754_FixTenantInfo.cs
...arp.Data.MySQL/Migrations/20220212100754_FixTenantInfo.cs
+399
-26
IoTSharp.Data.MySQL/Migrations/ApplicationDbContextModelSnapshot.cs
...ata.MySQL/Migrations/ApplicationDbContextModelSnapshot.cs
+2
-1
IoTSharp/appsettings.MySql.json
IoTSharp/appsettings.MySql.json
+2
-2
未找到文件。
IoTSharp.Data.MySQL/Migrations/20220209182518_refreshtoken.Designer.cs
已删除
100644 → 0
浏览文件 @
67b78734
此差异已折叠。
点击以展开。
IoTSharp.Data.MySQL/Migrations/20220209182518_refreshtoken.cs
已删除
100644 → 0
浏览文件 @
67b78734
using
System
;
using
Microsoft.EntityFrameworkCore.Migrations
;
#
nullable
disable
namespace
IoTSharp.Data.MySql.Migrations
{
public
partial
class
refreshtoken
:
Migration
{
protected
override
void
Up
(
MigrationBuilder
migrationBuilder
)
{
migrationBuilder
.
CreateTable
(
name
:
"RefreshTokens"
,
columns
:
table
=>
new
{
Id
=
table
.
Column
<
Guid
>(
type
:
"char(36)"
,
nullable
:
false
,
collation
:
"ascii_general_ci"
),
UserId
=
table
.
Column
<
string
>(
type
:
"varchar(255)"
,
nullable
:
true
)
.
Annotation
(
"MySql:CharSet"
,
"utf8mb4"
),
Token
=
table
.
Column
<
string
>(
type
:
"longtext"
,
nullable
:
true
)
.
Annotation
(
"MySql:CharSet"
,
"utf8mb4"
),
JwtId
=
table
.
Column
<
string
>(
type
:
"longtext"
,
nullable
:
true
)
.
Annotation
(
"MySql:CharSet"
,
"utf8mb4"
),
IsUsed
=
table
.
Column
<
bool
>(
type
:
"tinyint(1)"
,
nullable
:
false
),
IsRevorked
=
table
.
Column
<
bool
>(
type
:
"tinyint(1)"
,
nullable
:
false
),
AddedDate
=
table
.
Column
<
DateTime
>(
type
:
"datetime(6)"
,
nullable
:
false
),
ExpiryDate
=
table
.
Column
<
DateTime
>(
type
:
"datetime(6)"
,
nullable
:
false
)
},
constraints
:
table
=>
{
table
.
PrimaryKey
(
"PK_RefreshTokens"
,
x
=>
x
.
Id
);
table
.
ForeignKey
(
name
:
"FK_RefreshTokens_AspNetUsers_UserId"
,
column
:
x
=>
x
.
UserId
,
principalTable
:
"AspNetUsers"
,
principalColumn
:
"Id"
);
})
.
Annotation
(
"MySql:CharSet"
,
"utf8mb4"
);
migrationBuilder
.
CreateIndex
(
name
:
"IX_RefreshTokens_UserId"
,
table
:
"RefreshTokens"
,
column
:
"UserId"
);
}
protected
override
void
Down
(
MigrationBuilder
migrationBuilder
)
{
migrationBuilder
.
DropTable
(
name
:
"RefreshTokens"
);
}
}
}
IoTSharp.Data.MySQL/Migrations/20220212100754_FixTenantInfo.cs
浏览文件 @
66e00a65
...
...
@@ -9,15 +9,53 @@ namespace IoTSharp.Data.MySql.Migrations
{
protected
override
void
Up
(
MigrationBuilder
migrationBuilder
)
{
migrationBuilder
.
DropForeignKey
(
name
:
"FK_DeviceIdentities_Device_DeviceId"
,
table
:
"DeviceIdentities"
);
migrationBuilder
.
DropForeignKey
(
name
:
"FK_FlowOperations_BaseEvents_BaseEventId"
,
table
:
"FlowOperations"
);
migrationBuilder
.
DropForeignKey
(
name
:
"FK_FlowOperations_FlowRules_FlowRuleId"
,
table
:
"FlowOperations"
);
migrationBuilder
.
DropForeignKey
(
name
:
"FK_FlowOperations_Flows_FlowId"
,
table
:
"FlowOperations"
);
migrationBuilder
.
DropForeignKey
(
name
:
"FK_SubscriptionTasks_Customer_CustomerId"
,
table
:
"SubscriptionTasks"
);
migrationBuilder
.
DropIndex
(
name
:
"IX_SubscriptionTasks_CustomerId"
,
table
:
"SubscriptionTasks"
);
migrationBuilder
.
DropIndex
(
name
:
"IX_FlowOperations_BaseEventId"
,
table
:
"FlowOperations"
);
migrationBuilder
.
DropIndex
(
name
:
"IX_FlowOperations_FlowRuleId"
,
table
:
"FlowOperations"
);
migrationBuilder
.
DropIndex
(
name
:
"IX_DeviceIdentities_DeviceId"
,
table
:
"DeviceIdentities"
);
migrationBuilder
.
DropColumn
(
name
:
"CustomerId"
,
table
:
"SubscriptionTasks"
);
migrationBuilder
.
DropColumn
(
name
:
"BaseEventId"
,
table
:
"FlowOperations"
);
migrationBuilder
.
DropColumn
(
name
:
"FlowRuleId"
,
table
:
"FlowOperations"
);
migrationBuilder
.
AlterColumn
<
int
>(
name
:
"Type"
,
...
...
@@ -68,16 +106,68 @@ namespace IoTSharp.Data.MySql.Migrations
.
Annotation
(
"Relational:ColumnOrder"
,
1
)
.
OldAnnotation
(
"Relational:Collation"
,
"ascii_general_ci"
);
migrationBuilder
.
AddColumn
<
Guid
>(
name
:
"CustomerId"
,
table
:
"SubscriptionEvents"
,
type
:
"char(36)"
,
nullable
:
true
,
collation
:
"ascii_general_ci"
);
migrationBuilder
.
AddColumn
<
Guid
>(
name
:
"TenantId"
,
table
:
"SubscriptionEvents"
,
type
:
"char(36)"
,
nullable
:
true
,
collation
:
"ascii_general_ci"
);
migrationBuilder
.
AddColumn
<
Guid
>(
name
:
"CustomerId"
,
table
:
"RuleTaskExecutors"
,
type
:
"char(36)"
,
nullable
:
true
,
collation
:
"ascii_general_ci"
);
migrationBuilder
.
AddColumn
<
Guid
>(
name
:
"TenantId"
,
table
:
"RuleTaskExecutors"
,
type
:
"char(36)"
,
nullable
:
true
,
collation
:
"ascii_general_ci"
);
migrationBuilder
.
AddColumn
<
Guid
>(
name
:
"CustomerId"
,
table
:
"Flows"
,
type
:
"char(36)"
,
nullable
:
true
,
collation
:
"ascii_general_ci"
);
migrationBuilder
.
AddColumn
<
Guid
>(
name
:
"TenantId"
,
table
:
"Flows"
,
type
:
"char(36)"
,
nullable
:
true
,
collation
:
"ascii_general_ci"
);
migrationBuilder
.
AddColumn
<
Guid
>(
name
:
"CustomerId"
,
table
:
"FlowRules"
,
type
:
"char(36)"
,
nullable
:
true
,
collation
:
"ascii_general_ci"
);
migrationBuilder
.
AddColumn
<
Guid
>(
name
:
"TenantId"
,
table
:
"FlowRules"
,
type
:
"char(36)"
,
nullable
:
true
,
collation
:
"ascii_general_ci"
);
migrationBuilder
.
AddColumn
<
double
>(
name
:
"Version"
,
table
:
"FlowRules"
,
type
:
"double"
,
nullable
:
false
,
defaultValue
:
0.0
);
migrationBuilder
.
AlterColumn
<
int
>(
name
:
"NodeStatus"
,
...
...
@@ -99,8 +189,19 @@ namespace IoTSharp.Data.MySql.Migrations
oldType
:
"char(36)"
)
.
OldAnnotation
(
"Relational:Collation"
,
"ascii_general_ci"
);
migrationBuilder
.
AddColumn
<
Guid
>(
name
:
"BaseEventEventId"
,
table
:
"FlowOperations"
,
type
:
"char(36)"
,
nullable
:
true
,
collation
:
"ascii_general_ci"
);
migrationBuilder
.
AddColumn
<
Guid
>(
name
:
"FlowRuleRuleId"
,
table
:
"FlowOperations"
,
type
:
"char(36)"
,
nullable
:
true
,
collation
:
"ascii_general_ci"
);
migrationBuilder
.
AlterColumn
<
int
>(
name
:
"FormStatus"
,
...
...
@@ -132,8 +233,19 @@ namespace IoTSharp.Data.MySql.Migrations
oldType
:
"bigint"
,
oldNullable
:
true
);
migrationBuilder
.
AddColumn
<
Guid
>(
name
:
"CustomerId"
,
table
:
"DynamicFormInfos"
,
type
:
"char(36)"
,
nullable
:
true
,
collation
:
"ascii_general_ci"
);
migrationBuilder
.
AddColumn
<
Guid
>(
name
:
"TenantId"
,
table
:
"DynamicFormInfos"
,
type
:
"char(36)"
,
nullable
:
true
,
collation
:
"ascii_general_ci"
);
migrationBuilder
.
AlterColumn
<
long
>(
name
:
"FromId"
,
...
...
@@ -175,8 +287,19 @@ namespace IoTSharp.Data.MySql.Migrations
oldType
:
"bigint"
,
oldNullable
:
true
);
migrationBuilder
.
AddColumn
<
Guid
>(
name
:
"CustomerId"
,
table
:
"DynamicFormFieldValueInfos"
,
type
:
"char(36)"
,
nullable
:
true
,
collation
:
"ascii_general_ci"
);
migrationBuilder
.
AddColumn
<
Guid
>(
name
:
"TenantId"
,
table
:
"DynamicFormFieldValueInfos"
,
type
:
"char(36)"
,
nullable
:
true
,
collation
:
"ascii_general_ci"
);
migrationBuilder
.
AlterColumn
<
bool
>(
name
:
"IsRequired"
,
...
...
@@ -248,8 +371,19 @@ namespace IoTSharp.Data.MySql.Migrations
oldType
:
"int"
,
oldNullable
:
true
);
migrationBuilder
.
AddColumn
<
Guid
>(
name
:
"CustomerId"
,
table
:
"DynamicFormFieldInfos"
,
type
:
"char(36)"
,
nullable
:
true
,
collation
:
"ascii_general_ci"
);
migrationBuilder
.
AddColumn
<
Guid
>(
name
:
"TenantId"
,
table
:
"DynamicFormFieldInfos"
,
type
:
"char(36)"
,
nullable
:
true
,
collation
:
"ascii_general_ci"
);
migrationBuilder
.
AlterColumn
<
int
>(
name
:
"PortType"
,
...
...
@@ -383,8 +517,19 @@ namespace IoTSharp.Data.MySql.Migrations
oldType
:
"bigint"
,
oldNullable
:
true
);
migrationBuilder
.
AddColumn
<
Guid
>(
name
:
"CustomerId"
,
table
:
"DeviceGraphToolBoxes"
,
type
:
"char(36)"
,
nullable
:
true
,
collation
:
"ascii_general_ci"
);
migrationBuilder
.
AddColumn
<
Guid
>(
name
:
"TenantId"
,
table
:
"DeviceGraphToolBoxes"
,
type
:
"char(36)"
,
nullable
:
true
,
collation
:
"ascii_general_ci"
);
migrationBuilder
.
AlterColumn
<
int
>(
name
:
"GraphWidth"
,
...
...
@@ -466,7 +611,19 @@ namespace IoTSharp.Data.MySql.Migrations
oldType
:
"decimal(65,30)"
,
oldNullable
:
true
);
migrationBuilder
.
AddColumn
<
Guid
>(
name
:
"CustomerId"
,
table
:
"DeviceGraphs"
,
type
:
"char(36)"
,
nullable
:
true
,
collation
:
"ascii_general_ci"
);
migrationBuilder
.
AddColumn
<
Guid
>(
name
:
"TenantId"
,
table
:
"DeviceGraphs"
,
type
:
"char(36)"
,
nullable
:
true
,
collation
:
"ascii_general_ci"
);
migrationBuilder
.
AlterColumn
<
bool
>(
name
:
"IsDefault"
,
...
...
@@ -488,6 +645,19 @@ namespace IoTSharp.Data.MySql.Migrations
oldType
:
"int"
,
oldNullable
:
true
);
migrationBuilder
.
AddColumn
<
Guid
>(
name
:
"CustomerId"
,
table
:
"DeviceDiagrams"
,
type
:
"char(36)"
,
nullable
:
true
,
collation
:
"ascii_general_ci"
);
migrationBuilder
.
AddColumn
<
Guid
>(
name
:
"TenantId"
,
table
:
"DeviceDiagrams"
,
type
:
"char(36)"
,
nullable
:
true
,
collation
:
"ascii_general_ci"
);
migrationBuilder
.
AlterColumn
<
int
>(
name
:
"Type"
,
...
...
@@ -547,30 +717,233 @@ namespace IoTSharp.Data.MySql.Migrations
oldType
:
"int"
)
.
Annotation
(
"Relational:ColumnOrder"
,
0
);
migrationBuilder
.
AddColumn
<
Guid
>(
name
:
"CustomerId"
,
table
:
"BaseEvents"
,
type
:
"char(36)"
,
nullable
:
true
,
collation
:
"ascii_general_ci"
);
migrationBuilder
.
AddColumn
<
Guid
>(
name
:
"TenantId"
,
table
:
"BaseEvents"
,
type
:
"char(36)"
,
nullable
:
true
,
collation
:
"ascii_general_ci"
);
migrationBuilder
.
CreateTable
(
name
:
"RefreshTokens"
,
columns
:
table
=>
new
{
Id
=
table
.
Column
<
Guid
>(
type
:
"char(36)"
,
nullable
:
false
,
collation
:
"ascii_general_ci"
),
UserId
=
table
.
Column
<
string
>(
type
:
"varchar(255)"
,
nullable
:
true
)
.
Annotation
(
"MySql:CharSet"
,
"utf8mb4"
),
Token
=
table
.
Column
<
string
>(
type
:
"longtext"
,
nullable
:
true
)
.
Annotation
(
"MySql:CharSet"
,
"utf8mb4"
),
JwtId
=
table
.
Column
<
string
>(
type
:
"longtext"
,
nullable
:
true
)
.
Annotation
(
"MySql:CharSet"
,
"utf8mb4"
),
IsUsed
=
table
.
Column
<
bool
>(
type
:
"tinyint(1)"
,
nullable
:
false
),
IsRevorked
=
table
.
Column
<
bool
>(
type
:
"tinyint(1)"
,
nullable
:
false
),
AddedDate
=
table
.
Column
<
DateTime
>(
type
:
"datetime(6)"
,
nullable
:
false
),
ExpiryDate
=
table
.
Column
<
DateTime
>(
type
:
"datetime(6)"
,
nullable
:
false
)
},
constraints
:
table
=>
{
table
.
PrimaryKey
(
"PK_RefreshTokens"
,
x
=>
x
.
Id
);
table
.
ForeignKey
(
name
:
"FK_RefreshTokens_AspNetUsers_UserId"
,
column
:
x
=>
x
.
UserId
,
principalTable
:
"AspNetUsers"
,
principalColumn
:
"Id"
);
})
.
Annotation
(
"MySql:CharSet"
,
"utf8mb4"
);
migrationBuilder
.
CreateIndex
(
name
:
"IX_SubscriptionEvents_CustomerId"
,
table
:
"SubscriptionEvents"
,
column
:
"CustomerId"
);
migrationBuilder
.
CreateIndex
(
name
:
"IX_SubscriptionEvents_TenantId"
,
table
:
"SubscriptionEvents"
,
column
:
"TenantId"
);
migrationBuilder
.
CreateIndex
(
name
:
"IX_RuleTaskExecutors_CustomerId"
,
table
:
"RuleTaskExecutors"
,
column
:
"CustomerId"
);
migrationBuilder
.
CreateIndex
(
name
:
"IX_RuleTaskExecutors_TenantId"
,
table
:
"RuleTaskExecutors"
,
column
:
"TenantId"
);
migrationBuilder
.
CreateIndex
(
name
:
"IX_Flows_CustomerId"
,
table
:
"Flows"
,
column
:
"CustomerId"
);
migrationBuilder
.
CreateIndex
(
name
:
"IX_Flows_TenantId"
,
table
:
"Flows"
,
column
:
"TenantId"
);
migrationBuilder
.
CreateIndex
(
name
:
"IX_FlowRules_CustomerId"
,
table
:
"FlowRules"
,
column
:
"CustomerId"
);
migrationBuilder
.
CreateIndex
(
name
:
"IX_FlowRules_TenantId"
,
table
:
"FlowRules"
,
column
:
"TenantId"
);
migrationBuilder
.
CreateIndex
(
name
:
"IX_FlowOperations_BaseEventEventId"
,
table
:
"FlowOperations"
,
column
:
"BaseEventEventId"
);
migrationBuilder
.
CreateIndex
(
name
:
"IX_FlowOperations_FlowRuleRuleId"
,
table
:
"FlowOperations"
,
column
:
"FlowRuleRuleId"
);
migrationBuilder
.
CreateIndex
(
name
:
"IX_DynamicFormInfos_CustomerId"
,
table
:
"DynamicFormInfos"
,
column
:
"CustomerId"
);
migrationBuilder
.
CreateIndex
(
name
:
"IX_DynamicFormInfos_TenantId"
,
table
:
"DynamicFormInfos"
,
column
:
"TenantId"
);
migrationBuilder
.
CreateIndex
(
name
:
"IX_DynamicFormFieldValueInfos_CustomerId"
,
table
:
"DynamicFormFieldValueInfos"
,
column
:
"CustomerId"
);
migrationBuilder
.
CreateIndex
(
name
:
"IX_DynamicFormFieldValueInfos_TenantId"
,
table
:
"DynamicFormFieldValueInfos"
,
column
:
"TenantId"
);
migrationBuilder
.
CreateIndex
(
name
:
"IX_DynamicFormFieldInfos_CustomerId"
,
table
:
"DynamicFormFieldInfos"
,
column
:
"CustomerId"
);
migrationBuilder
.
CreateIndex
(
name
:
"IX_DynamicFormFieldInfos_TenantId"
,
table
:
"DynamicFormFieldInfos"
,
column
:
"TenantId"
);
migrationBuilder
.
CreateIndex
(
name
:
"IX_DeviceIdentities_DeviceId"
,
table
:
"DeviceIdentities"
,
column
:
"DeviceId"
,
unique
:
true
);
migrationBuilder
.
CreateIndex
(
name
:
"IX_DeviceGraphToolBoxes_CustomerId"
,
table
:
"DeviceGraphToolBoxes"
,
column
:
"CustomerId"
);
migrationBuilder
.
CreateIndex
(
name
:
"IX_DeviceGraphToolBoxes_TenantId"
,
table
:
"DeviceGraphToolBoxes"
,
column
:
"TenantId"
);
migrationBuilder
.
CreateIndex
(
name
:
"IX_DeviceGraphs_CustomerId"
,
table
:
"DeviceGraphs"
,
column
:
"CustomerId"
);
migrationBuilder
.
CreateIndex
(
name
:
"IX_DeviceGraphs_TenantId"
,
table
:
"DeviceGraphs"
,
column
:
"TenantId"
);
migrationBuilder
.
CreateIndex
(
name
:
"IX_DeviceDiagrams_CustomerId"
,
table
:
"DeviceDiagrams"
,
column
:
"CustomerId"
);
migrationBuilder
.
CreateIndex
(
name
:
"IX_DeviceDiagrams_TenantId"
,
table
:
"DeviceDiagrams"
,
column
:
"TenantId"
);
migrationBuilder
.
CreateIndex
(
name
:
"IX_BaseEvents_CustomerId"
,
table
:
"BaseEvents"
,
column
:
"CustomerId"
);
migrationBuilder
.
CreateIndex
(
name
:
"IX_BaseEvents_TenantId"
,
table
:
"BaseEvents"
,
column
:
"TenantId"
);
migrationBuilder
.
CreateIndex
(
name
:
"IX_RefreshTokens_UserId"
,
table
:
"RefreshTokens"
,
column
:
"UserId"
);
migrationBuilder
.
AddForeignKey
(
name
:
"FK_BaseEvents_Customer_CustomerId"
,
table
:
"BaseEvents"
,
column
:
"CustomerId"
,
principalTable
:
"Customer"
,
principalColumn
:
"Id"
);
migrationBuilder
.
AddForeignKey
(
name
:
"FK_BaseEvents_Tenant_TenantId"
,
table
:
"BaseEvents"
,
column
:
"TenantId"
,
principalTable
:
"Tenant"
,
principalColumn
:
"Id"
);
migrationBuilder
.
AddForeignKey
(
name
:
"FK_DeviceDiagrams_Customer_CustomerId"
,
table
:
"DeviceDiagrams"
,
column
:
"CustomerId"
,
principalTable
:
"Customer"
,
principalColumn
:
"Id"
);
migrationBuilder
.
AddForeignKey
(
name
:
"FK_DeviceDiagrams_Tenant_TenantId"
,
table
:
"DeviceDiagrams"
,
column
:
"TenantId"
,
principalTable
:
"Tenant"
,
principalColumn
:
"Id"
);
migrationBuilder
.
AddForeignKey
(
name
:
"FK_DeviceGraphs_Customer_CustomerId"
,
table
:
"DeviceGraphs"
,
column
:
"CustomerId"
,
principalTable
:
"Customer"
,
principalColumn
:
"Id"
);
migrationBuilder
.
AddForeignKey
(
name
:
"FK_DeviceGraphs_Tenant_TenantId"
,
table
:
"DeviceGraphs"
,
column
:
"TenantId"
,
principalTable
:
"Tenant"
,
principalColumn
:
"Id"
);
migrationBuilder
.
AddForeignKey
(
name
:
"FK_DeviceGraphToolBoxes_Customer_CustomerId"
,
table
:
"DeviceGraphToolBoxes"
,
column
:
"CustomerId"
,
principalTable
:
"Customer"
,
principalColumn
:
"Id"
);
migrationBuilder
.
AddForeignKey
(
name
:
"FK_DeviceGraphToolBoxes_Tenant_TenantId"
,
table
:
"DeviceGraphToolBoxes"
,
column
:
"TenantId"
,
principalTable
:
"Tenant"
,
principalColumn
:
"Id"
);
migrationBuilder
.
AddForeignKey
(
name
:
"FK_DeviceIdentities_Device_DeviceId"
,
...
...
IoTSharp.Data.MySQL/Migrations/ApplicationDbContextModelSnapshot.cs
浏览文件 @
66e00a65
...
...
@@ -717,7 +717,8 @@ namespace IoTSharp.Data.MySql.Migrations
b
.
HasKey
(
"Id"
);
b
.
HasIndex
(
"DeviceId"
)
.
IsUnique
();
b
.
ToTable
(
"DeviceIdentities"
);
});
...
...
IoTSharp/appsettings.MySql.json
浏览文件 @
66e00a65
...
...
@@ -8,8 +8,8 @@
},
"DataBase"
:
"MySql"
,
"ConnectionStrings"
:
{
"IoTSharp"
:
"server=localhost;user=root;password=kissme;database=IoTSharp1"
,
"TelemetryStorage"
:
"server=localhost;user=root;password=kissme;database=IoTSharp1"
"IoTSharp"
:
"server=localhost;user=root;password=kissme;database=IoTSharp1
0
"
,
"TelemetryStorage"
:
"server=localhost;user=root;password=kissme;database=IoTSharp1
0
"
},
"JwtKey"
:
"kissmekissmekissmekissmekissmekissmekissmekissmekissmekissmekissmekissmekissmekissmekissmekissme"
,
"JwtExpireHours"
:
3
,
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录