From 32fbfb2fba0472dee9710591d76b2db4dd96514d Mon Sep 17 00:00:00 2001 From: valdevir Date: Tue, 16 Jul 2024 15:54:45 -0300 Subject: [PATCH] fixes bug #AL-4635 --- pom.xml | 2 +- src/db/migration/V20240716_1154__AL-4635.sql | 15 +++++++++++++++ 2 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 src/db/migration/V20240716_1154__AL-4635.sql diff --git a/pom.xml b/pom.xml index 128ff088e..b00b75cd5 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ 4.0.0 br.com.rjconsultores Flyway - 1.65.0 + 1.66.0 diff --git a/src/db/migration/V20240716_1154__AL-4635.sql b/src/db/migration/V20240716_1154__AL-4635.sql new file mode 100644 index 000000000..ac8782b72 --- /dev/null +++ b/src/db/migration/V20240716_1154__AL-4635.sql @@ -0,0 +1,15 @@ +declare + column_exists exception; + pragma exception_init (column_exists , -01430); +begin + execute immediate 'ALTER TABLE RUTA ADD (INDFREQMINIMA NUMBER(1,0))'; + exception when column_exists then null; +end; +/ +declare + column_exists exception; + pragma exception_init (column_exists , -01430); +begin + execute immediate 'ALTER TABLE BOLETO ADD (INDFREQMINIMA NUMBER(1,0))'; + exception when column_exists then null; +end; \ No newline at end of file