From 11a0ed37d6fb4650d616cc94b11f07d283ea1e97 Mon Sep 17 00:00:00 2001
From: schangxiang@126.com <schangxiang@126.com>
Date: 周六, 31 8月 2024 16:09:29 +0800
Subject: [PATCH] 1

---
 iWara.SCADA.Code/iWare.Wms.Database.Migrations/Migrations/20240830014836_v1.0.2.cs |   20 ++++++++++----------
 1 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/iWara.SCADA.Code/iWare.Wms.Database.Migrations/Migrations/20240112013535_v1.0.1.cs b/iWara.SCADA.Code/iWare.Wms.Database.Migrations/Migrations/20240830014836_v1.0.2.cs
similarity index 67%
rename from iWara.SCADA.Code/iWare.Wms.Database.Migrations/Migrations/20240112013535_v1.0.1.cs
rename to iWara.SCADA.Code/iWare.Wms.Database.Migrations/Migrations/20240830014836_v1.0.2.cs
index 00d4fc5..b76698e 100644
--- a/iWara.SCADA.Code/iWare.Wms.Database.Migrations/Migrations/20240112013535_v1.0.1.cs
+++ b/iWara.SCADA.Code/iWare.Wms.Database.Migrations/Migrations/20240830014836_v1.0.2.cs
@@ -5,20 +5,20 @@
 
 namespace iWare.Wms.Database.Migrations.Migrations
 {
-    public partial class v101 : Migration
+    public partial class v102 : Migration
     {
         protected override void Up(MigrationBuilder migrationBuilder)
         {
             migrationBuilder.CreateTable(
-                name: "WorkPieceOutbound",
+                name: "WorkPieceOutboundRecord",
                 columns: table => new
                 {
                     Id = table.Column<long>(type: "bigint", nullable: false, comment: "Id涓婚敭"),
-                    WorkPieceID = table.Column<string>(type: "nvarchar(32)", maxLength: 32, nullable: false, comment: "宸ヤ欢鍙�"),
-                    OP80NewCode = table.Column<string>(type: "nvarchar(255)", maxLength: 255, nullable: false, comment: "OP80鎵撶爜"),
-                    WorkPieceOutboundTime = table.Column<DateTime>(type: "datetime2", nullable: false, comment: "鍑哄簱鏃堕棿"),
-                    WorkPieceOutboundUserId = table.Column<long>(type: "bigint", maxLength: 32, nullable: false, comment: "鍑哄簱浜篒d"),
-                    WorkPieceOutboundUserName = table.Column<string>(type: "nvarchar(32)", maxLength: 32, nullable: false, comment: "鍑哄簱浜哄悕绉�"),
+                    OperationType = table.Column<string>(type: "nvarchar(500)", maxLength: 500, nullable: true, comment: "鎿嶄綔绫诲瀷"),
+                    OP80NewCode = table.Column<string>(type: "nvarchar(255)", maxLength: 255, nullable: false, comment: "鎴愬搧鐮�"),
+                    WorkPieceID = table.Column<string>(type: "nvarchar(32)", maxLength: 32, nullable: true, comment: "宸ヤ欢鍙�"),
+                    CarNo = table.Column<string>(type: "nvarchar(32)", maxLength: 32, nullable: true, comment: "灏忚溅鐮�"),
+                    Remark = table.Column<string>(type: "nvarchar(500)", maxLength: 500, nullable: true, comment: "澶囨敞"),
                     CreatedTime = table.Column<DateTimeOffset>(type: "datetimeoffset", nullable: true, comment: "鍒涘缓鏃堕棿"),
                     UpdatedTime = table.Column<DateTimeOffset>(type: "datetimeoffset", nullable: true, comment: "鏇存柊鏃堕棿"),
                     CreatedUserId = table.Column<long>(type: "bigint", nullable: true, comment: "鍒涘缓鑰匢d"),
@@ -29,15 +29,15 @@
                 },
                 constraints: table =>
                 {
-                    table.PrimaryKey("PK_WorkPieceOutbound", x => x.Id);
+                    table.PrimaryKey("PK_WorkPieceOutboundRecord", x => x.Id);
                 },
-                comment: "宸ヤ欢鍑哄簱琛�");
+                comment: "宸ヤ欢鍑哄簱璁板綍琛�");
         }
 
         protected override void Down(MigrationBuilder migrationBuilder)
         {
             migrationBuilder.DropTable(
-                name: "WorkPieceOutbound");
+                name: "WorkPieceOutboundRecord");
         }
     }
 }

--
Gitblit v1.9.3