share-platform/config/db/V1.3__resource_attr_index.sql

3 lines
148 B
MySQL
Raw Normal View History

2022-06-19 14:36:21 +08:00
ALTER TABLE `share_platform`.`tb_data_attr`
ADD INDEX `resource_id`(`data_resource_id`),
ADD FULLTEXT INDEX `attr_value`(`attr_type`, `attr_value`);