From 3163a87aeb728317ebdf565f25362f0a485205f3 Mon Sep 17 00:00:00 2001
From: liding <756868258@qq.com>
Date: 星期一, 23 六月 2025 18:07:42 +0800
Subject: [PATCH] 优化
---
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