From 1e8ccfec6ebcf7787def13165d9932b0cccefc49 Mon Sep 17 00:00:00 2001
From: liding <756868258@qq.com>
Date: 星期五, 20 六月 2025 14:34:45 +0800
Subject: [PATCH] 1.文件上传格式调整 2.表格调整

---
 main-business/src/main/resources/db/migration/postgresql/V20250613112800__create_table_production_inventory.sql |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/main-business/src/main/resources/db/migration/postgresql/V20250613112800__create_table_production_inventory.sql b/main-business/src/main/resources/db/migration/postgresql/V20250613112800__create_table_production_inventory.sql
index 37318d5..2243aab 100644
--- a/main-business/src/main/resources/db/migration/postgresql/V20250613112800__create_table_production_inventory.sql
+++ b/main-business/src/main/resources/db/migration/postgresql/V20250613112800__create_table_production_inventory.sql
@@ -4,10 +4,9 @@
     id                   BIGSERIAL PRIMARY KEY,          -- 涓婚敭ID
     production_master_id BIGINT      NOT NULL DEFAULT 0, -- 鐢熶骇涓昏〃ID
     coal_id              BIGINT      NOT NULL DEFAULT 0, -- 鐓ょID
-    coal                 VARCHAR(50) NOT NULL,           -- 鐓ょ
+    official_id              BIGINT      NOT NULL DEFAULT 0, -- 搴撳瓨ID
     inventory_quantity   INT         NOT NULL,           -- 搴撳瓨鏁伴噺
     used_quantity        INT         NOT NULL,           -- 浣跨敤鏁伴噺
-
 
     deleted              INT         NOT NULL DEFAULT 0, -- 杞垹闄ゆ爣蹇楋細0=鏈垹闄わ紝1=宸插垹闄�
     create_by            VARCHAR(255),                   -- 鍒涘缓浜虹敤鎴峰悕
@@ -23,7 +22,7 @@
 COMMENT ON COLUMN production_inventory.id IS '涓婚敭ID';
 COMMENT ON COLUMN production_inventory.production_master_id IS '鐢熶骇涓昏〃ID';
 COMMENT ON COLUMN production_inventory.coal_id IS '鐓ょID';
-COMMENT ON COLUMN production_inventory.coal IS '鐓ょ';
+COMMENT ON COLUMN production_inventory.official_id IS '搴撳瓨ID';
 COMMENT ON COLUMN production_inventory.inventory_quantity IS '搴撳瓨鏁伴噺';
 COMMENT ON COLUMN production_inventory.used_quantity IS '浣跨敤鏁伴噺';
 

--
Gitblit v1.9.3