diff --git a/src/main/resources/sql/init.sql b/src/main/resources/sql/init.sql index 31ef426..338f94f 100644 --- a/src/main/resources/sql/init.sql +++ b/src/main/resources/sql/init.sql @@ -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,