fix: 订单表增加discount_money字段
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Agent
2026-03-27 14:02:59 +00:00
parent 0fe6f473df
commit da2da5fe75

View File

@@ -74,6 +74,7 @@ CREATE TABLE IF NOT EXISTS orders (
customer_wechat VARCHAR(128),
total_amount DECIMAL(12,2) NOT NULL,
discount_amount DECIMAL(12,2) DEFAULT 0,
discount_money DECIMAL(12,2) DEFAULT 0,
actual_amount DECIMAL(12,2) NOT NULL,
discount_rate DECIMAL(5,2) DEFAULT 100,
status INTEGER NOT NULL DEFAULT 1,