fix(backend-java): Flyway V100 撞号修复配套(迁移矩阵补全16键/测试引用改指V109)
This commit is contained in:
+3
-1
@@ -8,7 +8,9 @@ import java.nio.file.Path;
|
||||
/** 读取 module-08 目标 Flyway 迁移文件文本(供契约/幂等测试)。 */
|
||||
public final class MigrationSql {
|
||||
|
||||
public static final String V100 = "src/main/resources/db/V100__admin_menu_frontend_routes.sql";
|
||||
// 撞号修复:menu_routes 迁移曾以 V100 与 V100__drop_coze_rename_llm_columns 撞号导致 Flyway 启动失败,
|
||||
// 正式版本为 V109__admin_menu_frontend_routes.sql(内容为原 V100 的超集,route_path 值一致)。
|
||||
public static final String V100 = "src/main/resources/db/V109__admin_menu_frontend_routes.sql";
|
||||
|
||||
private MigrationSql() {
|
||||
}
|
||||
|
||||
+1
-1
@@ -29,7 +29,7 @@ class Task158Test {
|
||||
|
||||
@Test
|
||||
void test_task_158_validate_boundary_empty_input() {
|
||||
assertTrue(AdminMenuRouteMatrix.ROUTES.size() == 7, "矩阵键数量稳定");
|
||||
assertTrue(AdminMenuRouteMatrix.ROUTES.size() == 16, "矩阵键数量与正式迁移 V109 一致");
|
||||
}
|
||||
|
||||
@Test
|
||||
|
||||
Reference in New Issue
Block a user