Browse Source

调整历史任务表ID不为自增

林豪 左 3 năm trước cách đây
mục cha
commit
ae981aaad6

+ 4 - 5
Projects/永冠OPP/WCS.Service/Migrations/20220518022317_16.cs

@@ -1,5 +1,5 @@
-using System;
-using Microsoft.EntityFrameworkCore.Migrations;
+using Microsoft.EntityFrameworkCore.Migrations;
+using System;
 
 #nullable disable
 
@@ -13,8 +13,7 @@ namespace WCS.Service.Migrations
                 name: "WCS_TASK_OLD",
                 columns: table => new
                 {
-                    ID = table.Column<int>(type: "int", nullable: false)
-                        .Annotation("SqlServer:Identity", "1, 1"),
+                    ID = table.Column<int>(type: "int", nullable: false),
                     BARCODE = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true),
                     TYPE = table.Column<int>(type: "int", nullable: false),
                     STATUS = table.Column<int>(type: "int", nullable: false),
@@ -57,4 +56,4 @@ namespace WCS.Service.Migrations
                 name: "WCS_TASK_OLD");
         }
     }
-}
+}