From a2d8705903ec73b585eaca24f013e081929db953 Mon Sep 17 00:00:00 2001
From: maven <2163098428@qq.com>
Date: 星期五, 22 八月 2025 10:00:46 +0800
Subject: [PATCH] yys
---
main-business/src/main/resources/db/migration/postgresql/V20250604104500__create_table_pending_inventory.sql | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/main-business/src/main/resources/db/migration/postgresql/V20250604104500__create_table_pending_inventory.sql b/main-business/src/main/resources/db/migration/postgresql/V20250604104500__create_table_pending_inventory.sql
index d51c775..6a82005 100644
--- a/main-business/src/main/resources/db/migration/postgresql/V20250604104500__create_table_pending_inventory.sql
+++ b/main-business/src/main/resources/db/migration/postgresql/V20250604104500__create_table_pending_inventory.sql
@@ -3,7 +3,6 @@
(
id BIGSERIAL PRIMARY KEY, -- 涓婚敭ID
supplier_name VARCHAR(255) NOT NULL, -- 渚涜揣鍟嗗悕绉�
- coal VARCHAR(50) NOT NULL, -- 鐓ょ
unit VARCHAR(50) NOT NULL, -- 鍗曚綅
inventory_quantity NUMERIC(10, 2) NOT NULL, -- 搴撳瓨鏁伴噺
price_including_tax NUMERIC(10, 2) NOT NULL, -- 鍗曚环锛堝惈绋庯級
@@ -17,6 +16,8 @@
supplier_id BIGINT, -- 渚涜揣鍟咺D
coal_id BIGINT, -- 鐓ょID
master_id BIGINT, -- 鐢熶骇鍔犲伐id
+ purchase_id BIGINT, -- 閲囪喘id
+ coal_plan_id BIGINT, -- 鐓よ川鏂规id
deleted INTEGER DEFAULT 0, -- 杞垹闄ゆ爣蹇楋紝0=鏈垹闄わ紝1=宸插垹闄�
create_by VARCHAR(255), -- 鍒涘缓璇ヨ褰曠殑鐢ㄦ埛
@@ -31,7 +32,6 @@
-- 瀛楁娉ㄩ噴
COMMENT ON COLUMN pending_inventory.id IS '涓婚敭ID';
COMMENT ON COLUMN pending_inventory.supplier_name IS '渚涜揣鍟嗗悕绉�';
-COMMENT ON COLUMN pending_inventory.coal IS '鐓ょ';
COMMENT ON COLUMN pending_inventory.unit IS '鍗曚綅';
COMMENT ON COLUMN pending_inventory.inventory_quantity IS '搴撳瓨鏁伴噺';
COMMENT ON COLUMN pending_inventory.price_including_tax IS '鍗曚环锛堝惈绋庯級';
@@ -45,6 +45,8 @@
COMMENT ON COLUMN pending_inventory.supplier_id IS '渚涜揣鍟咺D';
COMMENT ON COLUMN pending_inventory.coal_id IS '鐓ょID';
COMMENT ON COLUMN pending_inventory.master_id IS '鐢熶骇鍔犲伐id';
+COMMENT ON COLUMN pending_inventory.purchase_id IS '閲囪喘id';
+COMMENT ON COLUMN pending_inventory.coal_plan_id IS '鐓よ川鏂规id';
COMMENT ON COLUMN pending_inventory.deleted IS '杞垹闄ゆ爣蹇楋紝0=鏈垹闄わ紝1=宸插垹闄�';
COMMENT ON COLUMN pending_inventory.create_by IS '鍒涘缓璇ヨ褰曠殑鐢ㄦ埛';
--
Gitblit v1.9.3