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

3 lines
148 B
SQL

ALTER TABLE `share_platform`.`tb_data_attr`
ADD INDEX `resource_id`(`data_resource_id`),
ADD FULLTEXT INDEX `attr_value`(`attr_type`, `attr_value`);