From 61d47c5a32941f4d4f6b90d96954172183addcaf Mon Sep 17 00:00:00 2001 From: frederico Date: Mon, 6 Jan 2020 19:20:30 +0000 Subject: [PATCH] fixed bug#17121 qua: dev: git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/BD/FlyWay/trunk@99596 d1611594-4594-4d17-8e1d-87c2c4800839 --- .../migration/V20200103_1045__mantis17121.sql | 41 ------------------- 1 file changed, 41 deletions(-) diff --git a/src/db/migration/V20200103_1045__mantis17121.sql b/src/db/migration/V20200103_1045__mantis17121.sql index c1b3c1b47..4a1e26544 100644 --- a/src/db/migration/V20200103_1045__mantis17121.sql +++ b/src/db/migration/V20200103_1045__mantis17121.sql @@ -85,45 +85,4 @@ ADD CONSTRAINT FK_BOLETO_COTACAO when except_02275 then null; when except_02270 then null; when except_02261 then null; -end; - -/ -declare - object_exists exception; - except_01451 exception; - except_01442 exception; - - pragma exception_init (object_exists , -01430); - pragma exception_init (except_01451 , -01451); - pragma exception_init (except_01442 , -01442); -begin - execute immediate 'ALTER TABLE CAJA ADD COTACAO_ID NUMBER(7,0)'; - exception - when object_exists then null; - when except_01451 then null; - when except_01442 then null; -end; - -/ - -declare - object_exists exception; - except_02275 exception; - except_02270 exception; - except_02261 exception; - - pragma exception_init (object_exists , -01430); - pragma exception_init (except_02275 , -02275); - pragma exception_init (except_02270 , -02270); - pragma exception_init (except_02261 , -02261); -begin - execute immediate 'ALTER TABLE CAJA -ADD CONSTRAINT FK_BOLETO_COTACAO - FOREIGN KEY (COTACAO_ID) - REFERENCES COTACAO (COTACAO_ID)'; - exception - when object_exists then null; - when except_02275 then null; - when except_02270 then null; - when except_02261 then null; end; \ No newline at end of file