From 56aa1c84a04e44f670d3ee83dfabbc13d1c27e1e Mon Sep 17 00:00:00 2001 From: "rafael.henrique" Date: Thu, 15 Feb 2018 18:35:03 +0000 Subject: [PATCH] fixes bug#10306 git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/BD/FlyWay/trunk@78945 d1611594-4594-4d17-8e1d-87c2c4800839 --- src/db/migration/V20171026_1100__mantis9614.sql | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/db/migration/V20171026_1100__mantis9614.sql b/src/db/migration/V20171026_1100__mantis9614.sql index bf4dd8353..74b8e7b14 100644 --- a/src/db/migration/V20171026_1100__mantis9614.sql +++ b/src/db/migration/V20171026_1100__mantis9614.sql @@ -37,3 +37,12 @@ declare VALUES (CONSTANTE_SEQ.nextval, ''USUARIO_WS_FIDELIDADE'', ''USUARIO de chamada do projeto Fidelidade'', ''1'', ''1'', ''1'', sysdate, ''1'')'; exception when others then null; end; +/ + +declare + object_exists exception; + pragma exception_init (object_exists , -00955); +begin + execute immediate 'ALTER TABLE BOLETO ADD (TEMPORESERVAFIDELIDADE NUMBER(7,0))'; + exception when object_exists then null; +end;