增加订单对应的字段

This commit is contained in:
wuweihua
2026-09-21 17:15:11 +08:00
committed by luojiaquan
parent 5e7aa3c561
commit d783dddbe1
5 changed files with 24 additions and 3 deletions
@@ -0,0 +1,8 @@
-- prc_order_bill:增加套餐版本ID、套餐明细ID
SET NAMES utf8mb4;
ALTER TABLE prc_order_bill
ADD COLUMN psv_id BIGINT DEFAULT NULL COMMENT '套餐版本ID,对应 prc_price_set_version.psv_id' AFTER customer_priceset_id,
ADD COLUMN psd_id BIGINT DEFAULT NULL COMMENT '套餐明细ID,对应 prc_price_set_detail.psd_id' AFTER psv_id,
ADD KEY idx_order_bill_psv (psv_id),
ADD KEY idx_order_bill_psd (psd_id);