From d63492157df12a82cf5d0624de2dd39f642ea6a3 Mon Sep 17 00:00:00 2001 From: Lucas Date: Wed, 5 Jul 2023 21:33:04 -0300 Subject: [PATCH] fixes bug AL-2895 --- pom.xml | 2 +- src/db/migration/V20230705_1905__AL-2895.sql | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 src/db/migration/V20230705_1905__AL-2895.sql diff --git a/pom.xml b/pom.xml index 1e7de33ba..c7d27f68e 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ 4.0.0 br.com.rjconsultores Flyway - 1.5.1 + 1.5.2 diff --git a/src/db/migration/V20230705_1905__AL-2895.sql b/src/db/migration/V20230705_1905__AL-2895.sql new file mode 100644 index 000000000..63b97a9f3 --- /dev/null +++ b/src/db/migration/V20230705_1905__AL-2895.sql @@ -0,0 +1,8 @@ +declare + column_exists exception; + pragma exception_init (column_exists , -01430); +begin + execute immediate 'ALTER TABLE PTOVTA_EMPRESA ADD (MERCHANTSTOREADYEN VARCHAR2(200) )'; + exception when column_exists then null; +end; +/ \ No newline at end of file