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/V20250613093400__create_table_production_master.sql |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/main-business/src/main/resources/db/migration/postgresql/V20250613093400__create_table_production_master.sql b/main-business/src/main/resources/db/migration/postgresql/V20250613093400__create_table_production_master.sql
index f5343db..01a1ba2 100644
--- a/main-business/src/main/resources/db/migration/postgresql/V20250613093400__create_table_production_master.sql
+++ b/main-business/src/main/resources/db/migration/postgresql/V20250613093400__create_table_production_master.sql
@@ -2,7 +2,7 @@
 CREATE TABLE production_master
 (
     id                      BIGSERIAL PRIMARY KEY,             -- 涓婚敭ID
-    coal                    VARCHAR(50)    NOT NULL,           -- 鐓ょ
+    coal_id                 BIGINT,                            -- 鐓ょID
     production_quantity     INT            NOT NULL,           -- 鐢熶骇鏁伴噺
     labor_cost              DECIMAL(10, 2) NOT NULL,           -- 浜哄伐鎴愭湰
     energy_consumption_cost DECIMAL(10, 2) NOT NULL,           -- 鑳借�楁垚鏈�
@@ -24,7 +24,7 @@
 
 -- 娣诲姞瀛楁娉ㄩ噴
 COMMENT ON COLUMN production_master.id IS '涓婚敭ID';
-COMMENT ON COLUMN production_master.coal IS '鐓ょ';
+COMMENT ON COLUMN production_master.coal_id IS '鐓ょID';
 COMMENT ON COLUMN production_master.production_quantity IS '鐢熶骇鏁伴噺';
 COMMENT ON COLUMN production_master.labor_cost IS '浜哄伐鎴愭湰';
 COMMENT ON COLUMN production_master.energy_consumption_cost IS '鑳借�楁垚鏈�';

--
Gitblit v1.9.3