From df6d38c8512d977b7a33a5babafe11106027824e Mon Sep 17 00:00:00 2001 From: Lucas Date: Wed, 10 Apr 2024 20:09:13 -0300 Subject: [PATCH] AL-4135 --- pom.xml | 2 +- src/db/migration/V20240410_1105__AL-4135.sql | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 src/db/migration/V20240410_1105__AL-4135.sql diff --git a/pom.xml b/pom.xml index c332a5fbf..16d6e601a 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ 4.0.0 br.com.rjconsultores Flyway - 1.36.0 + 1.37.0 diff --git a/src/db/migration/V20240410_1105__AL-4135.sql b/src/db/migration/V20240410_1105__AL-4135.sql new file mode 100644 index 000000000..914000b29 --- /dev/null +++ b/src/db/migration/V20240410_1105__AL-4135.sql @@ -0,0 +1,7 @@ +declare + column_exists exception; + pragma exception_init (column_exists , -01430); +begin + execute immediate 'ALTER TABLE EMPRESA ADD INDSAFTAO NUMBER(1,0)'; + exception when column_exists then null; +end; \ No newline at end of file