Correção no script para execução do flyway

git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Web/trunk/ventaboletos@58747 d1611594-4594-4d17-8e1d-87c2c4800839
master
eduardo.dicarde 2016-08-04 17:47:38 +00:00
parent 1d1ffcd42e
commit c610c48192
1 changed files with 7 additions and 1 deletions

View File

@ -1 +1,7 @@
ALTER TABLE VTABOL.TAXA_EMBARQUE_PARADA ADD (EMPRESA_ID NUMBER(7) DEFAULT -1 NOT NULL) declare
column_exists exception;
pragma exception_init (column_exists , -01430);
begin
execute immediate 'ALTER TABLE VTABOL.TAXA_EMBARQUE_PARADA ADD (EMPRESA_ID NUMBER(7) DEFAULT -1 NOT NULL)';
exception when column_exists then null;
end;