feat(db): 迁移 manage-db 测试代码与配置(任务 T1.3)
- 删除原有测试文件 - 从 gym-manage 复制测试文件 - 批量替换包名:cn.novalon.gym.manage → cn.novalon.manage - 替换 application.yml 和 application-test.yml - 更新 AutoConfiguration.imports 包名 - 编译验证通过 相关文档: docs/superpowers/specs/2026-04-27-migration-phase-1.json
This commit is contained in:
1 parent
f6d6d67718
commit
dfadcb931f
15 files changed
+2
-2
No files matched your search
+1
-1
@@ -1 +1 @@
|
||||
cn.novalon.manage.db.config.RepositoryScanConfig
|
||||
cn.novalon.manage.db.config.RepositoryScanConfig
|
||||
+1
-1
@@ -72,7 +72,6 @@ class FlywayMigrationScriptTest {
|
||||
|
||||
List<Path> sqlFiles = Files.list(migrationDir)
|
||||
.filter(p -> p.toString().endsWith(".sql"))
|
||||
.sorted()
|
||||
.collect(Collectors.toList());
|
||||
|
||||
List<Integer> versions = sqlFiles.stream()
|
||||
@@ -81,6 +80,7 @@ class FlywayMigrationScriptTest {
|
||||
String versionStr = filename.substring(1, filename.indexOf("__"));
|
||||
return Integer.parseInt(versionStr);
|
||||
})
|
||||
.sorted()
|
||||
.collect(Collectors.toList());
|
||||
|
||||
for (int i = 1; i < versions.size(); i++) {
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Reference in new issue
Block a user