From 241d27cfbed2e7ed6c673888214010c9a7183404 Mon Sep 17 00:00:00 2001 From: "valdir.cordeiro" Date: Mon, 11 Dec 2023 15:19:07 -0300 Subject: [PATCH] =?UTF-8?q?bug#al-3602=20RETORNO=20-=20Ajuste=20Flag=20Emi?= =?UTF-8?q?te=202=C2=AA=20Via=20Seguro=20dev:=20qua:?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pom.xml | 2 +- src/db/migration/V20231211_1515__AL3602.sql | 12 ++++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 src/db/migration/V20231211_1515__AL3602.sql diff --git a/pom.xml b/pom.xml index b97d37ee9..31cade36e 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ 4.0.0 br.com.rjconsultores Flyway - 1.22.1 + 1.22.2 diff --git a/src/db/migration/V20231211_1515__AL3602.sql b/src/db/migration/V20231211_1515__AL3602.sql new file mode 100644 index 000000000..8b4367617 --- /dev/null +++ b/src/db/migration/V20231211_1515__AL3602.sql @@ -0,0 +1,12 @@ +declare + dup_val_on_index exception; + except_02291 exception; + + pragma exception_init (dup_val_on_index , -00001); + pragma exception_init (except_02291 , -02291); +begin + execute immediate 'UPDATE EMPRESA SET INDSEGUROOPCIONALW2DIGITAL = 0'; + exception + when dup_val_on_index then null; + when except_02291 then null; +end; \ No newline at end of file