加索引

This commit is contained in:
wangliwen 2022-06-27 15:02:44 +08:00
parent 41517968a3
commit 038857a149
1 changed files with 4 additions and 2 deletions

View File

@ -1,4 +1,6 @@
alter table `tb_resource_collection` ADD INDEX `resourceid`(`resource_id`) USING BTREE comment '收藏的资源id';
alter table `tb_resource_car` ADD INDEX `resourceid`(`resource_id`) USING BTREE comment '加入申购车的id';
alter table`tb_resource_car` ADD INDEX `resourceid`(`resource_id`) USING BTREE comment '加入申购车的id';
alter table `tb_resource_score` ADD INDEX `resourceid`(`resource_id`) USING BTREE comment '评分的资源id';
ALTER TABLE `tb_resource_browse` ADD INDEX `resourceid`(`resource_id`) USING BTREE COMMENT '资源id索引';
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 '用户';