fixes bug #8314
fixes bug #8312

git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/BD/FlyWay/trunk@63168 d1611594-4594-4d17-8e1d-87c2c4800839
master
wilian 2016-12-04 12:54:17 +00:00
parent f8dc03baff
commit 7c696a05f6
2 changed files with 14 additions and 0 deletions

View File

@ -0,0 +1,7 @@
declare
column_exists exception;
pragma exception_init (column_exists , -01430);
begin
execute immediate 'ALTER TABLE MOTIVO_CANCEL_VENDA_PACOTE ADD (PORCMULTA NUMBER(5,2) DEFAULT 0 NOT NULL)';
exception when column_exists then null;
end;

View File

@ -0,0 +1,7 @@
declare
column_exists exception;
pragma exception_init (column_exists , -01430);
begin
execute immediate 'ALTER TABLE TARIFA_VENDA_PACOTE ADD (USUARIO_CANCELAMENTO_ID NUMBER(7,0), MOTIVOCANCELVENDAPACOTE_ID NUMBER(7,0), INDCANCELADO NUMBER(1,0), DATACANCELAMENTO DATE)';
exception when column_exists then null;
end;