fix: 订单表增加discount_money字段
This commit is contained in:
@@ -80,6 +80,7 @@ CREATE TABLE "orders" (
|
|||||||
"customer_wechat" VARCHAR(64) DEFAULT NULL,
|
"customer_wechat" VARCHAR(64) DEFAULT NULL,
|
||||||
"total_amount" DECIMAL(12,2) NOT NULL DEFAULT 0,
|
"total_amount" DECIMAL(12,2) NOT NULL DEFAULT 0,
|
||||||
"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 DEFAULT 0,
|
"actual_amount" DECIMAL(12,2) NOT NULL DEFAULT 0,
|
||||||
"discount_rate" DECIMAL(5,2) DEFAULT 100,
|
"discount_rate" DECIMAL(5,2) DEFAULT 100,
|
||||||
"status" INTEGER DEFAULT 1,
|
"status" INTEGER DEFAULT 1,
|
||||||
|
|||||||
Reference in New Issue
Block a user