AdmMono/src/db/migration/V20240301_1539__AL-3921.sql

85 lines
2.2 KiB
SQL

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