From d64605697037a712088379744bb7178d9d27a73c Mon Sep 17 00:00:00 2001 From: "valdir.cordeiro" Date: Tue, 29 Aug 2023 09:30:51 -0300 Subject: [PATCH] =?UTF-8?q?bug#al-2803=20Espec=20Cobran=C3=A7a=20Taxa=20co?= =?UTF-8?q?nveni=C3=AAncia=20Opera=C3=A7=C3=B5es=20de=20venda=20dev:=20qua?= =?UTF-8?q?:?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pom.xml | 2 +- src/db/migration/V20230828_1036__AL2803.sql | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 src/db/migration/V20230828_1036__AL2803.sql diff --git a/pom.xml b/pom.xml index 63b9cc3bf..a2832927d 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ 4.0.0 br.com.rjconsultores Flyway - 1.9.0 + 1.9.1 diff --git a/src/db/migration/V20230828_1036__AL2803.sql b/src/db/migration/V20230828_1036__AL2803.sql new file mode 100644 index 000000000..2ad894d60 --- /dev/null +++ b/src/db/migration/V20230828_1036__AL2803.sql @@ -0,0 +1,7 @@ +declare + column_exists exception; + pragma exception_init (column_exists , -01430); +begin + execute immediate 'ALTER TABLE EMPRESA ADD INDTAXACONVENIENCIASOVENDA NUMBER(1,0)'; + exception when column_exists then null; +end; \ No newline at end of file