diff --git a/pom.xml b/pom.xml index bd8b2f4cf..9bbed5b88 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ 4.0.0 br.com.rjconsultores Flyway - 1.30.0 + 1.30.1 diff --git a/src/db/migration/V20240301_1539__AL-3921.sql b/src/db/migration/V20240301_1539__AL-3921.sql new file mode 100644 index 000000000..a2d52bf6f --- /dev/null +++ b/src/db/migration/V20240301_1539__AL-3921.sql @@ -0,0 +1,85 @@ +declare + column_exists exception; + pragma exception_init (column_exists , -01430); +begin + execute immediate 'ALTER TABLE TIPO_EVENTO_EXTRA MODIFY IMPMAX NUMBER(12,2)'; + exception when column_exists then null; +end; +/ +declare + column_exists exception; + pragma exception_init (column_exists , -01430); +begin + execute immediate 'ALTER TABLE EVENTO_EXTRA MODIFY IMPINGRESO NUMBER(12,2)'; + exception when column_exists then null; +end; +/ +declare + column_exists exception; + pragma exception_init (column_exists , -01430); +begin + execute immediate 'ALTER TABLE EVENTO_EXTRA MODIFY IMPORTEIVA NUMBER(12,2)'; + exception when column_exists then null; +end; +/ +declare + column_exists exception; + pragma exception_init (column_exists , -01430); +begin + execute immediate 'ALTER TABLE CAJA_DIVERSOS MODIFY PRECIO NUMBER(12,2)'; + exception when column_exists then null; +end; +/ +declare + column_exists exception; + pragma exception_init (column_exists , -01430); +begin + execute immediate 'ALTER TABLE CAJA_DIVERSOS_PAGO MODIFY IMPORTE NUMBER(12,2)'; + exception when column_exists then null; +end; +/ +declare + column_exists exception; + pragma exception_init (column_exists , -01430); +begin + execute immediate ' +ALTER TABLE DIGITA_ITEM MODIFY PRECIO NUMBER(12,2)'; + exception when column_exists then null; +end; +/ +declare + column_exists exception; + pragma exception_init (column_exists , -01430); +begin + execute immediate ' +ALTER TABLE DIGITA_VENTA MODIFY IMPTOTAL NUMBER(12,2)'; + exception when column_exists then null; +end; +/ +declare + column_exists exception; + pragma exception_init (column_exists , -01430); +begin + execute immediate ' +ALTER TABLE CONTROL_EFECTIVO MODIFY IMPORTEVENTA NUMBER(15,2)'; + exception when column_exists then null; +end; +/ +declare + column_exists exception; + pragma exception_init (column_exists , -01430); +begin + execute immediate ' +ALTER TABLE CORTE_TURNO MODIFY IMPORTECIERRE NUMBER(15,2)'; + exception when column_exists then null; +end; +/ +declare + column_exists exception; + pragma exception_init (column_exists , -01430); +begin + execute immediate ' +ALTER TABLE CORTE_TURNO MODIFY IMPORTECOMISSAO NUMBER(15,2)'; + exception when column_exists then null; +end; +/ \ No newline at end of file