mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-11-19 23:02:24 +00:00
Refactor tests, move db migration tests
This commit is contained in:
1 parent
72963bc9fb
commit
88acd8190a
5 files changed
+19
-30
No files matched your search
@@ -5,6 +5,7 @@ import io.ebean.annotation.Platform;
|
||||
import io.ebean.config.DatabaseConfig;
|
||||
import io.ebean.config.dbplatform.DatabasePlatform;
|
||||
|
||||
import java.io.File;
|
||||
import java.io.IOException;
|
||||
import java.util.Iterator;
|
||||
import java.util.List;
|
||||
@@ -218,6 +219,11 @@ public interface DbMigration {
|
||||
*/
|
||||
List<String> getPendingDrops();
|
||||
|
||||
/**
|
||||
* Return the main migration directory.
|
||||
*/
|
||||
File migrationDirectory();
|
||||
|
||||
/**
|
||||
* Generate the next migration sql script and associated model xml.
|
||||
* <p>
|
||||
|
||||
+2
-4
@@ -756,10 +756,8 @@ public class DefaultDbMigration implements DbMigration {
|
||||
return val;
|
||||
}
|
||||
|
||||
/**
|
||||
* Return the main migration directory.
|
||||
*/
|
||||
File migrationDirectory() {
|
||||
@Override
|
||||
public File migrationDirectory() {
|
||||
return migrationDirectory(false);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user