diff --git a/pom.xml b/pom.xml index 44708d24b..4f8cef432 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ 4.0.0 br.com.rjconsultores Flyway - 1.0.20 + 1.0.21 diff --git a/src/db/migration/V20230203_1957__AL1975.sql b/src/db/migration/V20230203_1957__AL1975.sql index 51f92dbc6..fe8f280c0 100644 --- a/src/db/migration/V20230203_1957__AL1975.sql +++ b/src/db/migration/V20230203_1957__AL1975.sql @@ -1,3 +1,6 @@ +declare + column_exists exception; + pragma exception_init (column_exists , -01430); begin execute immediate 'ALTER TABLE ORGAO_CONCEDENTE ADD (TAXACONVENIENCIAPORC NUMBER(7,2))'; exception when column_exists then null; diff --git a/src/db/migration/V20230206_1423__AL1975.sql b/src/db/migration/V20230206_1423__AL1975.sql index 97856fee5..b08eebb15 100644 --- a/src/db/migration/V20230206_1423__AL1975.sql +++ b/src/db/migration/V20230206_1423__AL1975.sql @@ -1,3 +1,6 @@ +declare + column_exists exception; + pragma exception_init (column_exists , -01430); begin execute immediate 'ALTER TABLE ORGAO_CONCEDENTE ADD (MENSAGEMRECIBOTXCONVENIENCIA VARCHAR2(80))' ; exception when column_exists then null;