Merge pull request 'fixes bug#AL-3928' (!96) from AL-3928 into master

Reviewed-on: utilidades/Flyway#96
Reviewed-by: Célio de Souza Ribeiro JR <celio@rjconsultores.com.br>
master
wallace 2024-03-01 18:53:28 +00:00
commit 92aec1ed2e
2 changed files with 86 additions and 1 deletions

View File

@ -4,7 +4,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>br.com.rjconsultores</groupId>
<artifactId>Flyway</artifactId>
<version>1.30.0</version>
<version>1.30.1</version>
<distributionManagement>
<repository>

View File

@ -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;
/