From bd5154d11eb9ec2dd7217656166c29d342acc1f7 Mon Sep 17 00:00:00 2001 From: Wilian Domingues Souza Date: Fri, 27 Sep 2024 15:51:29 -0300 Subject: [PATCH 1/2] fixes bug#AL-5017 --- src/db/migration/V20240927_1447__AL-5017.sql | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 src/db/migration/V20240927_1447__AL-5017.sql diff --git a/src/db/migration/V20240927_1447__AL-5017.sql b/src/db/migration/V20240927_1447__AL-5017.sql new file mode 100644 index 000000000..466f669ac --- /dev/null +++ b/src/db/migration/V20240927_1447__AL-5017.sql @@ -0,0 +1,15 @@ +declare + column_exists exception; + pragma exception_init (column_exists , -01430); +begin + execute immediate 'ALTER TABLE PARADA ADD LATITUDE NUMBER(10,8)'; + exception when column_exists then null; +end; +/ +declare + column_exists exception; + pragma exception_init (column_exists , -01430); +begin + execute immediate 'ALTER TABLE PARADA ADD LONGITUDE NUMBER(11,8)'; + exception when column_exists then null; +end; \ No newline at end of file From 976b9ffbd319eb487c5add275a3d367aa0422667 Mon Sep 17 00:00:00 2001 From: Wilian Domingues Souza Date: Fri, 27 Sep 2024 16:13:39 -0300 Subject: [PATCH 2/2] bug#AL-5017 --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index a1b07b84d..18d6daf9e 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ 4.0.0 br.com.rjconsultores Flyway - 1.96.0 + 1.97.0