Commit a06a289ba99c6debbb6c3f3f8a2f7a1f7700ea2a
1 parent
a99536e3
feat update sql
Showing
1 changed file
with
2 additions
and
2 deletions
scripts/dili-cashier-mall.sql
| @@ -157,6 +157,6 @@ CREATE TABLE `mall_biz_refund_item` ( | @@ -157,6 +157,6 @@ CREATE TABLE `mall_biz_refund_item` ( | ||
| 157 | `num` int unsigned DEFAULT NULL COMMENT '退货数量', | 157 | `num` int unsigned DEFAULT NULL COMMENT '退货数量', |
| 158 | `refund_fee` bigint DEFAULT NULL COMMENT '退款金额分', | 158 | `refund_fee` bigint DEFAULT NULL COMMENT '退款金额分', |
| 159 | PRIMARY KEY (`id`) USING BTREE, | 159 | PRIMARY KEY (`id`) USING BTREE, |
| 160 | - UNIQUE KEY `unq_sub_order_id` (`sub_order_id`) USING BTREE, | ||
| 161 | - KEY `idx_biz_refund_id` (`biz_refund_id`) USING BTREE | 160 | + KEY `idx_biz_refund_id` (`biz_refund_id`) USING BTREE, |
| 161 | + KEY `idx_sub_order_id` (`sub_order_id`) USING BTREE | ||
| 162 | ) ENGINE=InnoDB COMMENT='业务-退款商品明细'; | 162 | ) ENGINE=InnoDB COMMENT='业务-退款商品明细'; |