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-87c2c4800839master
parent
1d1ffcd42e
commit
c610c48192
|
@ -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;
|
Loading…
Reference in New Issue