diff --git a/bookMarkService/web/src/main/resources/db/migration/V4__新增免验证url.sql b/bookMarkService/web/src/main/resources/db/migration/V4__新增免验证url.sql index 493d7e4..87fa414 100644 --- a/bookMarkService/web/src/main/resources/db/migration/V4__新增免验证url.sql +++ b/bookMarkService/web/src/main/resources/db/migration/V4__新增免验证url.sql @@ -1 +1 @@ -INSERT INTO `bookmark`.`url`(`method`, `url`, `type`) VALUES ('GET', '/baseInfo/verifyEmail', 0); \ No newline at end of file +INSERT INTO `bookmark`.`url` VALUES (8,'GET', '/baseInfo/verifyEmail', 0); \ No newline at end of file diff --git a/bookMarkService/web/src/main/resources/db/migration/V5__增加索引.sql b/bookMarkService/web/src/main/resources/db/migration/V5__增加索引.sql new file mode 100644 index 0000000..3d6fab5 --- /dev/null +++ b/bookMarkService/web/src/main/resources/db/migration/V5__增加索引.sql @@ -0,0 +1,2 @@ +ALTER TABLE `bookmark`.`bookmark` +ADD INDEX `userId_path_index`(`userId`, `path`) USING BTREE; \ No newline at end of file