diff --git a/pom.xml b/pom.xml index 5152e98aa..899db00d7 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ 4.0.0 br.com.rjconsultores Flyway - 1.101.0 + 1.102.0 diff --git a/src/db/migration/V20241016_0900__AL-5111.sql b/src/db/migration/V20241016_0900__AL-5111.sql new file mode 100644 index 000000000..9bdc6cc2d --- /dev/null +++ b/src/db/migration/V20241016_0900__AL-5111.sql @@ -0,0 +1,18 @@ +declare + object_exists exception; + except_02275 exception; + except_02270 exception; + except_02261 exception; + + pragma exception_init (object_exists , -01430); + pragma exception_init (except_02275 , -02275); + pragma exception_init (except_02270 , -02270); + pragma exception_init (except_02261 , -02261); +begin + execute immediate 'ALTER TABLE EMPRESA ADD INDIMPRIMECONFABERTONBPE NUMBER(1,0)'; + exception + when object_exists then null; + when except_02275 then null; + when except_02270 then null; + when except_02261 then null; +end; \ No newline at end of file