From bd886809b4ca0726448da14a64b5ef318590ebe6 Mon Sep 17 00:00:00 2001 From: "aristides@rjconsultores.com.br" Date: Thu, 29 Dec 2022 19:54:24 -0300 Subject: [PATCH] bug#AL-1757 --- pom.xml | 2 +- src/db/migration/V20221227_1550__AL1757.sql | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 src/db/migration/V20221227_1550__AL1757.sql diff --git a/pom.xml b/pom.xml index 0ed7eaa4b..35d9a8dd7 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ 4.0.0 br.com.rjconsultores Flyway - 1.0.8 + 1.0.9 diff --git a/src/db/migration/V20221227_1550__AL1757.sql b/src/db/migration/V20221227_1550__AL1757.sql new file mode 100644 index 000000000..c4919a669 --- /dev/null +++ b/src/db/migration/V20221227_1550__AL1757.sql @@ -0,0 +1,7 @@ +declare + column_exists exception; + pragma exception_init (column_exists , -01430); +begin + execute immediate 'ALTER TABLE EMPRESA ADD (INDVENDEBILHETESEMELHANTE NUMBER(1,0) )'; + exception when column_exists then null; +end; \ No newline at end of file