fixes bug#AL-2004
parent
f631eb4c2a
commit
7202a52527
|
@ -42,6 +42,7 @@ public class FlyWay {
|
|||
private String password = null;
|
||||
|
||||
private String location = "db.migration";
|
||||
private String oldies = "db.backup.oracle";
|
||||
|
||||
private FlyWay() {
|
||||
|
||||
|
@ -163,6 +164,8 @@ public class FlyWay {
|
|||
flyway.setLocations(customLocation);
|
||||
} else if (this.location != null && !this.location.equals("db.migration")) {
|
||||
flyway.setLocations(this.location);
|
||||
}else {
|
||||
flyway.setLocations(this.oldies, this.location);
|
||||
}
|
||||
|
||||
if (dataSource != null) {
|
||||
|
|
Loading…
Reference in New Issue