From 012059b3d9c43938de1b3ca62466d79fecbe1450 Mon Sep 17 00:00:00 2001 From: Lucas Date: Thu, 15 Jun 2023 20:30:09 -0300 Subject: [PATCH] bug#AL-2574 --- pom.xml | 2 +- src/db/migration/V20230615_1926__AL2574.sql | 16 ++++++++++++++++ 2 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 src/db/migration/V20230615_1926__AL2574.sql diff --git a/pom.xml b/pom.xml index 8592eac50..202a1566e 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ 4.0.0 br.com.rjconsultores Flyway - 1.4.2 + 1.4.3 diff --git a/src/db/migration/V20230615_1926__AL2574.sql b/src/db/migration/V20230615_1926__AL2574.sql new file mode 100644 index 000000000..a4e58d529 --- /dev/null +++ b/src/db/migration/V20230615_1926__AL2574.sql @@ -0,0 +1,16 @@ +declare + column_exists exception; + pragma exception_init (column_exists , -01430); +begin + execute immediate 'ALTER TABLE FORMA_PAGO ADD INDESTORNO_RECEITA_DESPESA_CR NUMBER(1,0)'; + exception when column_exists then null; +end; +/ +declare + column_exists exception; + pragma exception_init (column_exists , -01430); +begin + execute immediate 'ALTER TABLE FORMA_PAGO ADD TIPOEVENTOEXTRACREDITO_ID NUMBER(7,0)'; + exception when column_exists then null; +end; +/ \ No newline at end of file