mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-11-14 06:45:21 +00:00
#2283 - ddl-generator - Refactor tidy DefaultDbMigration etc
This commit is contained in:
1 parent
71223895ac
commit
4ba26ee7b7
4 files changed
+25
-74
No files matched your search
+2
-2
@@ -70,8 +70,8 @@ public class DbMigrationGenerateTest {
|
||||
migration.setServer(server);
|
||||
|
||||
// First, we clean up the output-directory
|
||||
assertThat(migration.getMigrationDirectory().getAbsolutePath()).contains("migrationtest");
|
||||
Files.walk(migration.getMigrationDirectory().toPath())
|
||||
assertThat(migration.migrationDirectory().getAbsolutePath()).contains("migrationtest");
|
||||
Files.walk(migration.migrationDirectory().toPath())
|
||||
.filter(Files::isRegularFile).map(Path::toFile).forEach(File::delete);
|
||||
|
||||
// then we generate migration scripts for v1_0
|
||||
|
||||
Reference in new issue
Block a user