From da813434671fc2f23e402c52af237b54a9d43ac4 Mon Sep 17 00:00:00 2001 From: "valdir.cordeiro" Date: Mon, 15 Apr 2024 10:21:50 -0300 Subject: [PATCH] =?UTF-8?q?bug#al-3855=20ESP04-2024=5FMR=5F2=C2=AA=20via?= =?UTF-8?q?=20de=20bilhete=20v2=20dev:=20qua:?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pom.xml | 2 +- src/db/migration/V20240410_1538__AL-3855.sql | 15 +++++++++++++++ 2 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 src/db/migration/V20240410_1538__AL-3855.sql diff --git a/pom.xml b/pom.xml index 16d6e601a..29dbc95ec 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ 4.0.0 br.com.rjconsultores Flyway - 1.37.0 + 1.38.0 diff --git a/src/db/migration/V20240410_1538__AL-3855.sql b/src/db/migration/V20240410_1538__AL-3855.sql new file mode 100644 index 000000000..abe158975 --- /dev/null +++ b/src/db/migration/V20240410_1538__AL-3855.sql @@ -0,0 +1,15 @@ +declare + object_exists exception; + except_01451 exception; + except_01442 exception; + + pragma exception_init (object_exists , -01430); + pragma exception_init (except_01451 , -01451); + pragma exception_init (except_01442 , -01442); +begin + execute immediate 'ALTER TABLE ORGAO_EMP_PARAM ADD INDEMITE2VIAAPOSSAIDA NUMBER(1)'; + exception + when object_exists then null; + when except_01451 then null; + when except_01442 then null; +end;