feat(db): 迁移数据库迁移脚本 V1-V5(任务 T1.1) #4
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