From e0ef974ad67e4feab140a66b5e0b20c285681592 Mon Sep 17 00:00:00 2001 From: "valdir.cordeiro" Date: Fri, 18 Oct 2024 10:24:25 -0300 Subject: [PATCH] =?UTF-8?q?Bolivariano=20-=20Impress=C3=A3o=20do=20bilhete?= =?UTF-8?q?=20na=20confirma=C3=A7=C3=A3o=20em=20aberto.=20feat=20bug#AL-51?= =?UTF-8?q?11?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pom.xml | 2 +- src/db/migration/V20241016_0900__AL-5111.sql | 18 ++++++++++++++++++ 2 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 src/db/migration/V20241016_0900__AL-5111.sql diff --git a/pom.xml b/pom.xml index 5152e98aa..899db00d7 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ 4.0.0 br.com.rjconsultores Flyway - 1.101.0 + 1.102.0 diff --git a/src/db/migration/V20241016_0900__AL-5111.sql b/src/db/migration/V20241016_0900__AL-5111.sql new file mode 100644 index 000000000..9bdc6cc2d --- /dev/null +++ b/src/db/migration/V20241016_0900__AL-5111.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 EMPRESA ADD INDIMPRIMECONFABERTONBPE 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