fix: 添加V14迁移为order_items表增加length,width,area字段
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Agent
2026-04-02 03:22:01 +00:00
parent c12912f1c5
commit 4da4b1f922

View File

@@ -0,0 +1,7 @@
-- 添加订单明细长度、宽度、面积字段
ALTER TABLE order_items ADD COLUMN length DECIMAL(10,2);
COMMENT ON COLUMN order_items.length IS '长度(mm)';
ALTER TABLE order_items ADD COLUMN width DECIMAL(10,2);
COMMENT ON COLUMN order_items.width IS '宽度(mm)';
ALTER TABLE order_items ADD COLUMN area DECIMAL(10,4);
COMMENT ON COLUMN order_items.area IS '面积(m²)';