diff --git a/src/db/migration/V20170526_1731__mantis9035.sql b/src/db/migration/V20170526_1731__mantis9035.sql index d52a2a4a7..30c09b716 100644 --- a/src/db/migration/V20170526_1731__mantis9035.sql +++ b/src/db/migration/V20170526_1731__mantis9035.sql @@ -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; \ No newline at end of file