From ccb9ea7b0d252aa4ef3d469dca03e9bfd06a5064 Mon Sep 17 00:00:00 2001 From: "aristides@rjconsultores.com.br" Date: Wed, 21 Dec 2022 16:28:02 -0300 Subject: [PATCH] AL-1808 --- pom.xml | 2 +- src/db/migration/V20221221_1535__AL1808.sql | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 src/db/migration/V20221221_1535__AL1808.sql diff --git a/pom.xml b/pom.xml index f78ffbe79..4eabce60a 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ 4.0.0 br.com.rjconsultores Flyway - 1.0.5 + 1.0.6 diff --git a/src/db/migration/V20221221_1535__AL1808.sql b/src/db/migration/V20221221_1535__AL1808.sql new file mode 100644 index 000000000..9791d31bd --- /dev/null +++ b/src/db/migration/V20221221_1535__AL1808.sql @@ -0,0 +1,7 @@ +declare + column_exists exception; + pragma exception_init (column_exists , -01430); +begin + execute immediate 'ALTER TABLE FORMA_PAGO ADD (INDETICKET NUMER(1,0) )'; + exception when column_exists then null; +end; \ No newline at end of file