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

3 lines
132 B
SQL

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