diff --git a/src/com/rjconsultores/ventaboletos/FlyWay.java b/src/com/rjconsultores/ventaboletos/FlyWay.java index 6b31f7c5b..0fb76c145 100644 --- a/src/com/rjconsultores/ventaboletos/FlyWay.java +++ b/src/com/rjconsultores/ventaboletos/FlyWay.java @@ -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) {