mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
#2101 - Refactor to make ebean-migration optional dependency
This commit is contained in:
@@ -156,12 +156,12 @@ class Config {
|
||||
}
|
||||
|
||||
private void setMigrationRun() {
|
||||
config.getMigrationConfig().setRunMigration(true);
|
||||
config.setRunMigration(true);
|
||||
setProperty("ebean." + db + ".migration.run", "true");
|
||||
}
|
||||
|
||||
private void disableMigrationRun() {
|
||||
System.setProperty("ddl.migration.run", "false");
|
||||
System.setProperty("ebean.migration.run", "false");
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user