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-87c2c4800839master
parent
ba38eb9641
commit
179c63ab0a
|
@ -140,7 +140,7 @@ end;
|
||||||
/
|
/
|
||||||
declare
|
declare
|
||||||
object_exists exception;
|
object_exists exception;
|
||||||
pragma exception_init (object_exists , -01430);
|
pragma exception_init (object_exists , -00955);
|
||||||
begin
|
begin
|
||||||
execute immediate
|
execute immediate
|
||||||
'CREATE TABLE "TAXPOLV"
|
'CREATE TABLE "TAXPOLV"
|
||||||
|
@ -181,7 +181,7 @@ end;
|
||||||
--------------------------------------------------------
|
--------------------------------------------------------
|
||||||
declare
|
declare
|
||||||
object_exists exception;
|
object_exists exception;
|
||||||
pragma exception_init (object_exists , -01408);
|
pragma exception_init (object_exists , -00955);
|
||||||
begin
|
begin
|
||||||
execute immediate
|
execute immediate
|
||||||
'CREATE UNIQUE INDEX "IDX_TAXPOLV" ON "TAXPOLV" ("TAXPOLV_ID")';
|
'CREATE UNIQUE INDEX "IDX_TAXPOLV" ON "TAXPOLV" ("TAXPOLV_ID")';
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
declare
|
declare
|
||||||
object_exists exception;
|
object_exists exception;
|
||||||
pragma exception_init (object_exists , -00955);
|
pragma exception_init (object_exists , -01430);
|
||||||
begin
|
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;
|
exception when object_exists then null;
|
||||||
end;
|
end;
|
Loading…
Reference in New Issue