From 7202a525270c83e0087aa2fff2a79b5bd179119e Mon Sep 17 00:00:00 2001 From: Fabio Faria Date: Thu, 5 Jan 2023 09:55:11 -0300 Subject: [PATCH] fixes bug#AL-2004 --- src/com/rjconsultores/ventaboletos/FlyWay.java | 3 +++ 1 file changed, 3 insertions(+) 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) {