From 737cbaddd38c2ff3149872e1769b852ffb1f38d5 Mon Sep 17 00:00:00 2001 From: "valdir.cordeiro" Date: Fri, 11 Oct 2024 15:16:21 -0300 Subject: [PATCH] =?UTF-8?q?Bolivariano=20-=20Troca=20de=20passagem=20n?= =?UTF-8?q?=C3=A3o=20cobra=20e/ou=20devolve=20diferen=C3=A7a=20feat=20bug#?= =?UTF-8?q?AL-5085?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pom.xml | 2 +- src/db/migration/V20241011_1049__AL-5085.sql | 18 ++++++++++++++++++ 2 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 src/db/migration/V20241011_1049__AL-5085.sql diff --git a/pom.xml b/pom.xml index 8e72ebec6..35658f48c 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ 4.0.0 br.com.rjconsultores Flyway - 1.98.4 + 1.99.0 diff --git a/src/db/migration/V20241011_1049__AL-5085.sql b/src/db/migration/V20241011_1049__AL-5085.sql new file mode 100644 index 000000000..91b399a44 --- /dev/null +++ b/src/db/migration/V20241011_1049__AL-5085.sql @@ -0,0 +1,18 @@ +declare + object_exists exception; + except_02275 exception; + except_02270 exception; + except_02261 exception; + + pragma exception_init (object_exists , -01430); + pragma exception_init (except_02275 , -02275); + pragma exception_init (except_02270 , -02270); + pragma exception_init (except_02261 , -02261); +begin + execute immediate 'ALTER TABLE ORGAO_CANCELACION ADD(INDDEVOLUCAOTROCA NUMBER(1,0), INDCOBRANCATROCA NUMBER(1,0))'; + exception + when object_exists then null; + when except_02275 then null; + when except_02270 then null; + when except_02261 then null; +end; \ No newline at end of file