diff --git a/pom.xml b/pom.xml index 4108b4487..44708d24b 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ 4.0.0 br.com.rjconsultores Flyway - 1.0.19 + 1.0.20 diff --git a/src/db/migration/V20230203_1957__AL1975.sql b/src/db/migration/V20230203_1957__AL1975.sql new file mode 100644 index 000000000..51f92dbc6 --- /dev/null +++ b/src/db/migration/V20230203_1957__AL1975.sql @@ -0,0 +1,13 @@ +begin + execute immediate 'ALTER TABLE ORGAO_CONCEDENTE ADD (TAXACONVENIENCIAPORC NUMBER(7,2))'; + exception when column_exists then null; +end; +/ +declare + column_exists exception; + pragma exception_init (column_exists , -01430); +begin + execute immediate 'ALTER TABLE ORGAO_CONCEDENTE ADD (MAXTAXACONVENIENCIAPORTARIFA NUMBER(7,2))'; + exception when column_exists then null; +end; +/ \ No newline at end of file diff --git a/src/db/migration/V20230206_1423__AL1975.sql b/src/db/migration/V20230206_1423__AL1975.sql new file mode 100644 index 000000000..234ce0fff --- /dev/null +++ b/src/db/migration/V20230206_1423__AL1975.sql @@ -0,0 +1,4 @@ +begin + execute immediate 'ALTER TABLE ORGAO_CONCEDENTE ADD (MENSAGEMRECIBOTXCONVENIENCIA VARCHAR2(80))'; + exception when column_exists then null; +end; \ No newline at end of file