From 642e1d8e17ad247713b2392957a961170301b014 Mon Sep 17 00:00:00 2001 From: "valdir.cordeiro" Date: Tue, 19 Sep 2023 09:14:27 -0300 Subject: [PATCH] =?UTF-8?q?bug#al-2984=20P=C3=A1ssaro=20Marron=20-=20GLPI?= =?UTF-8?q?=2065198=20-=20Espec=5FSeguro=5Fopcional=20dev:=20qua:?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pom.xml | 2 +- src/db/migration/V20230918_1051__AL2984.sql | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 src/db/migration/V20230918_1051__AL2984.sql diff --git a/pom.xml b/pom.xml index c22bd643b..b176e8b7d 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ 4.0.0 br.com.rjconsultores Flyway - 1.10.0 + 1.11.0 diff --git a/src/db/migration/V20230918_1051__AL2984.sql b/src/db/migration/V20230918_1051__AL2984.sql new file mode 100644 index 000000000..12758f1be --- /dev/null +++ b/src/db/migration/V20230918_1051__AL2984.sql @@ -0,0 +1,7 @@ +declare + column_exists exception; + pragma exception_init (column_exists , -01430); +begin + execute immediate 'ALTER TABLE CATEGORIA_DESCUENTO ADD INDIMPORTESEGUROOPCIONAL NUMBER(1)'; + exception when column_exists then null; +end;