diff --git a/src/main/resources/db/migration/mysql/V7.1.1_20210730_2300__resource_index.sql b/src/main/resources/db/migration/mysql/V7.1.1_20210730_2300__resource_index.sql new file mode 100644 index 00000000..b2b9aed9 --- /dev/null +++ b/src/main/resources/db/migration/mysql/V7.1.1_20210730_2300__resource_index.sql @@ -0,0 +1 @@ +ALTER TABLE `sys_resource` ADD INDEX `RESOURCE_CODE_URL`(`resource_code`, `url`) USING HASH COMMENT '资源code和url的联合索引'; \ No newline at end of file