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;