diff --git a/pom.xml b/pom.xml index 16d6e601a..29dbc95ec 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ 4.0.0 br.com.rjconsultores Flyway - 1.37.0 + 1.38.0 diff --git a/src/db/migration/V20240410_1538__AL-3855.sql b/src/db/migration/V20240410_1538__AL-3855.sql new file mode 100644 index 000000000..abe158975 --- /dev/null +++ b/src/db/migration/V20240410_1538__AL-3855.sql @@ -0,0 +1,15 @@ +declare + object_exists exception; + except_01451 exception; + except_01442 exception; + + pragma exception_init (object_exists , -01430); + pragma exception_init (except_01451 , -01451); + pragma exception_init (except_01442 , -01442); +begin + execute immediate 'ALTER TABLE ORGAO_EMP_PARAM ADD INDEMITE2VIAAPOSSAIDA NUMBER(1)'; + exception + when object_exists then null; + when except_01451 then null; + when except_01442 then null; +end;