From c313098a836332dbe5be6ea38aa58d473bc4d43b Mon Sep 17 00:00:00 2001 From: gleimar Date: Fri, 26 May 2017 21:31:31 +0000 Subject: [PATCH] bug#9035 git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/BD/FlyWay/trunk@69368 d1611594-4594-4d17-8e1d-87c2c4800839 --- src/db/migration/V20170526_1731__mantis9035.sql | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) 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