提交 2600373f 编写于 作者: 麦壳饼's avatar 麦壳饼

Revert "修复pgsql迁移设计"

This reverts commit 4e449d89.
上级 2b09ff0d
......@@ -66,15 +66,10 @@ namespace IoTSharp.Migrations
oldClrType: typeof(Guid),
oldNullable: true);
//migrationBuilder.AddPrimaryKey(
// name: "PK_DataStorage",
// table: "DataStorage",
// columns: new[] { "Catalog", "DeviceId", "KeyName", "DateTime" });
// jy 修复表设计
migrationBuilder.AddPrimaryKey(
name: "PK_DataStorage",
table: "DataStorage",
columns: new[] { "Catalog", "DeviceId", "KeyName" });
columns: new[] { "Catalog", "DeviceId", "KeyName", "DateTime" });
migrationBuilder.CreateIndex(
name: "IX_DataStorage_Catalog",
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册