From 7844f03894291f5e5f43d3438b88a6fe7fca3e22 Mon Sep 17 00:00:00 2001 From: Lucas Date: Fri, 12 May 2023 18:06:12 -0300 Subject: [PATCH] fixes bug#AL-2525 --- pom.xml | 2 +- src/db/migration/V20230512_1705__AL-2525.sql | 16 ++++++++++++++++ 2 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 src/db/migration/V20230512_1705__AL-2525.sql diff --git a/pom.xml b/pom.xml index 76012891f..8880c721b 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ 4.0.0 br.com.rjconsultores Flyway - 1.3.1 + 1.3.2 diff --git a/src/db/migration/V20230512_1705__AL-2525.sql b/src/db/migration/V20230512_1705__AL-2525.sql new file mode 100644 index 000000000..973d226c6 --- /dev/null +++ b/src/db/migration/V20230512_1705__AL-2525.sql @@ -0,0 +1,16 @@ +declare + column_exists exception; + pragma exception_init (column_exists , -01430); +begin + execute immediate 'ALTER TABLE EMPRESA_ADYEN_CONFIG ADD (MERCHANTACCOUNTADYEN VARCHAR2(200) )'; + exception when column_exists then null; +end; +/ +declare + column_exists exception; + pragma exception_init (column_exists , -01430); +begin + execute immediate 'ALTER TABLE PUNTO_VENTA ADD (MERCHANTSTOREADYEN VARCHAR2(200) )'; + exception when column_exists then null; +end; +/ \ No newline at end of file