From 8b468eb92c4b1b277eebdfd31cab905ef711ce9b Mon Sep 17 00:00:00 2001 From: "wallace.henrique" Date: Fri, 10 Nov 2023 15:02:43 -0300 Subject: [PATCH] fixes bug#AL-3351 dev: qua: --- pom.xml | 2 +- src/db/migration/V20231110_1023__AL3351.sql | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 src/db/migration/V20231110_1023__AL3351.sql diff --git a/pom.xml b/pom.xml index 22ce61b81..c2d23f626 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ 4.0.0 br.com.rjconsultores Flyway - 1.17.0 + 1.18.0 diff --git a/src/db/migration/V20231110_1023__AL3351.sql b/src/db/migration/V20231110_1023__AL3351.sql new file mode 100644 index 000000000..3fdd6ab07 --- /dev/null +++ b/src/db/migration/V20231110_1023__AL3351.sql @@ -0,0 +1,7 @@ +declare + column_exists exception; + pragma exception_init (column_exists , -01430); +begin + execute immediate 'ALTER TABLE PUNTO_VENTA ADD INDTAXACONVENIENCIAORGAOCONCEDENTE NUMBER(1,0)' ; + exception when column_exists then null; +end; \ No newline at end of file