fix: 订单表增加discount_money字段
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@@ -74,6 +74,7 @@ CREATE TABLE IF NOT EXISTS orders (
|
|||||||
customer_wechat VARCHAR(128),
|
customer_wechat VARCHAR(128),
|
||||||
total_amount DECIMAL(12,2) NOT NULL,
|
total_amount DECIMAL(12,2) NOT NULL,
|
||||||
discount_amount DECIMAL(12,2) DEFAULT 0,
|
discount_amount DECIMAL(12,2) DEFAULT 0,
|
||||||
|
discount_money DECIMAL(12,2) DEFAULT 0,
|
||||||
actual_amount DECIMAL(12,2) NOT NULL,
|
actual_amount DECIMAL(12,2) NOT NULL,
|
||||||
discount_rate DECIMAL(5,2) DEFAULT 100,
|
discount_rate DECIMAL(5,2) DEFAULT 100,
|
||||||
status INTEGER NOT NULL DEFAULT 1,
|
status INTEGER NOT NULL DEFAULT 1,
|
||||||
|
|||||||
Reference in New Issue
Block a user