From bd5154d11eb9ec2dd7217656166c29d342acc1f7 Mon Sep 17 00:00:00 2001 From: Wilian Domingues Souza Date: Fri, 27 Sep 2024 15:51:29 -0300 Subject: [PATCH] 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