fixes bug #9984 - Script flyway adicionar campo numoperacion.

git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/BD/FlyWay/trunk@77948 d1611594-4594-4d17-8e1d-87c2c4800839
master
valdevir 2018-01-11 19:30:59 +00:00
parent ba38eb9641
commit 179c63ab0a
2 changed files with 4 additions and 4 deletions

View File

@ -140,7 +140,7 @@ end;
/
declare
object_exists exception;
pragma exception_init (object_exists , -01430);
pragma exception_init (object_exists , -00955);
begin
execute immediate
'CREATE TABLE "TAXPOLV"
@ -181,7 +181,7 @@ end;
--------------------------------------------------------
declare
object_exists exception;
pragma exception_init (object_exists , -01408);
pragma exception_init (object_exists , -00955);
begin
execute immediate
'CREATE UNIQUE INDEX "IDX_TAXPOLV" ON "TAXPOLV" ("TAXPOLV_ID")';

View File

@ -1,7 +1,7 @@
declare
object_exists exception;
pragma exception_init (object_exists , -00955);
pragma exception_init (object_exists , -01430);
begin
execute immediate 'ALTER TABLE EMPRESA ADD ( INDIMPRIMECUPEMBVENDAMANUAL NUMBER(1, 0) DEFAULT 0 NOT NULL )';
execute immediate 'ALTER TABLE TAXPOLV ADD (NUMOPERACION VARCHAR2(36 BYTE))';
exception when object_exists then null;
end;