索引脚本重新命名

This commit is contained in:
liyj 2025-06-28 11:38:43 +08:00
parent 3f17a5ed6f
commit 506587025e
2 changed files with 2 additions and 2 deletions

View File

@ -1,2 +1,2 @@
alter table shop_product_index add column `is_special` varchar(2) NOT NULL DEFAULT '0' COMMENT '是否特价商品,0否1是'; alter table shop_product_index add column `is_special` varchar(2) NOT NULL DEFAULT '0' COMMENT '是否特价商品,0否1是';
alter table shop_product_index add index `is_special` (`is_special`) USING BTREE; alter table shop_product_index add index `index_is_special` (`is_special`) USING BTREE;

View File

@ -4,4 +4,4 @@ alter table store_db_config add store_name varchar(64) NOT NULL COMMENT '店铺
alter table product_mapping add store_name varchar(64) NOT NULL COMMENT '店铺名称'; alter table product_mapping add store_name varchar(64) NOT NULL COMMENT '店铺名称';
alter table product_mapping add index `is_store_name` (`store_name`) USING BTREE; alter table product_mapping add index `index_store_name` (`store_name`) USING BTREE;