fixes bug#AL-2004

master
Fabio Faria 2023-01-05 09:55:11 -03:00
parent f631eb4c2a
commit 7202a52527
1 changed files with 3 additions and 0 deletions

View File

@ -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) {