From 004418a82d0e5cdeb315580779404d98d68d5339 Mon Sep 17 00:00:00 2001 From: Lucas Date: Tue, 8 Oct 2024 16:35:05 -0300 Subject: [PATCH] AL-4545 --- pom.xml | 2 +- src/db/migration/V20241008_1629__AL-4545.sql | 17 +++++++++++++++++ 2 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 src/db/migration/V20241008_1629__AL-4545.sql diff --git a/pom.xml b/pom.xml index b671b7e4c..3e23a9341 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ 4.0.0 br.com.rjconsultores Flyway - 1.98.1 + 1.98.2 diff --git a/src/db/migration/V20241008_1629__AL-4545.sql b/src/db/migration/V20241008_1629__AL-4545.sql new file mode 100644 index 000000000..13e256dad --- /dev/null +++ b/src/db/migration/V20241008_1629__AL-4545.sql @@ -0,0 +1,17 @@ + +declare + column_exists exception; + pragma exception_init (column_exists , -01430); +begin + execute immediate 'ALTER TABLE PARADA ADD (IMPRESIONLAYOUTCONFIG_ID NUMBER(7) )'; + exception when column_exists then null; +end; +/ +declare + column_exists exception; + pragma exception_init (column_exists , -01430); +begin + execute immediate 'ALTER TABLE RUTA ADD (IMPRESIONLAYOUTCONFIG_ID NUMBER(7) )'; + exception when column_exists then null; +end; +/ \ No newline at end of file