bug#9035
git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/BD/FlyWay/trunk@69368 d1611594-4594-4d17-8e1d-87c2c4800839master
parent
a981987de7
commit
c313098a83
|
@ -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;
|
Loading…
Reference in New Issue