git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/BD/FlyWay/trunk@69368 d1611594-4594-4d17-8e1d-87c2c4800839
master
gleimar 2017-05-26 21:31:31 +00:00
parent a981987de7
commit c313098a83
1 changed files with 6 additions and 6 deletions

View File

@ -3,7 +3,7 @@ declare
pragma exception_init (object_exists , -00955);
begin
execute immediate 'ALTER TABLE TARIFA_MINIMA ADD (VIGENCIATARIFA_ID NUMBER(7) )';
exception when object_exists then null;
exception when others then null;
end;
/
@ -12,7 +12,7 @@ declare
pragma exception_init (object_exists , -00955);
begin
execute immediate 'ALTER TABLE TARIFA_MINIMA ADD CONSTRAINT TARIFA_MINIMA_FK_VIGENCIA FOREIGN KEY (VIGENCIATARIFA_ID ) REFERENCES VIGENCIA_TARIFA( VIGENCIATARIFA_ID ) ENABLE';
exception when object_exists then null;
exception when others then null;
end;
/
@ -21,7 +21,7 @@ declare
pragma exception_init (object_exists , -00955);
begin
execute immediate 'ALTER TABLE TARIFA_MINIMA ADD (RUTA_ID NUMBER(7) )';
exception when object_exists then null;
exception when others then null;
end;
/
@ -30,7 +30,7 @@ declare
pragma exception_init (object_exists , -00955);
begin
execute immediate 'ALTER TABLE TARIFA_MINIMA ADD CONSTRAINT TARIFA_MINIMA_FK_RUTA FOREIGN KEY (RUTA_ID ) REFERENCES RUTA (RUTA_ID) ENABLE';
exception when object_exists then null;
exception when others then null;
end;
/
@ -39,7 +39,7 @@ declare
pragma exception_init (object_exists , -00955);
begin
execute immediate 'ALTER TABLE TARIFA_MINIMA ADD (REGIONMETROPOLITANA_ID NUMBER(7) )';
exception when object_exists then null;
exception when others then null;
end;
/
@ -48,5 +48,5 @@ declare
pragma exception_init (object_exists , -00955);
begin
execute immediate 'ALTER TABLE TARIFA_MINIMA ADD CONSTRAINT TARIFA_MINIMA_FK_REGION FOREIGN KEY (REGIONMETROPOLITANA_ID) REFERENCES REGION_METROPOLITANA (REGIONMETROPOLITANA_ID) ENABLE';
exception when object_exists then null;
exception when others then null;
end;