Merge branch 'master' into docker_package

This commit is contained in:
wangliwen 2022-07-07 16:51:31 +08:00
commit 3189d96992
2 changed files with 4 additions and 4 deletions

View File

@ -1,3 +1,3 @@
ALTER TABLE `share_platform`.`tb_data_attr`
ADD INDEX `resource_id`(`data_resource_id`),
ADD FULLTEXT INDEX `attr_value`(`attr_type`, `attr_value`);
ADD FULLTEXT INDEX `attr_value_`(`attr_type`, `attr_value`);

View File

@ -5,9 +5,9 @@ alter table `tb_resource_score` ADD INDEX `resourceid`(`resource_id`) USING BTRE
alter table `tb_resource_browse` ADD INDEX `resourceid`(`resource_id`) USING BTREE comment '资源id索引';
alter table `t_ability_application` ADD INDEX `resourceid`(`resource_id`) USING BTREE comment '资源id';
alter table `t_ability_application` ADD INDEX `userId`(`user_id`) USING BTREE comment '用户';
alter table `tb_data_resource` ADD FULLTEXT INDEX `type`(`type`) with parser ngram;
alter table `tb_data_attr` ADD FULLTEXT INDEX `attr_value`(`attr_value`) with parser ngram;
alter table `tb_data_resource` ADD FULLTEXT INDEX `name`(`name`) with parser ngram;
alter table `tb_data_resource` ADD FULLTEXT INDEX `type`(`type`) WITH PARSER NGRAM;
alter table `tb_data_attr` ADD FULLTEXT INDEX `attr_value`(`attr_value`) WITH PARSER NGRAM;
alter table `tb_data_resource` ADD FULLTEXT INDEX `name`(`name`) WITH PARSER NGRAM;
alter table `tb_data_resource` ADD INDEX `deptId`(`dept_id`) USING BTREE;
alter table `sys_dept` ADD INDEX `type`(`type`) USING BTREE;
alter table `sys_dept` ADD INDEX `district`(`district`) USING BTREE;