From 8fc936449102a619f7f2db91c02c0d39c2d140da Mon Sep 17 00:00:00 2001 From: "lucas.taia" Date: Thu, 12 Aug 2021 21:07:34 +0000 Subject: [PATCH] fixes bug#22989 dev:lucas qua: git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/BD/FlyWay/trunk@108308 d1611594-4594-4d17-8e1d-87c2c4800839 --- src/db/migration/V20210812_1522__mantis22989.sql | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 src/db/migration/V20210812_1522__mantis22989.sql diff --git a/src/db/migration/V20210812_1522__mantis22989.sql b/src/db/migration/V20210812_1522__mantis22989.sql new file mode 100644 index 000000000..294dd94d4 --- /dev/null +++ b/src/db/migration/V20210812_1522__mantis22989.sql @@ -0,0 +1,15 @@ +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 ORGAO_CANCELACION ADD INDBLOQUEIOREMARCADO NUMBER(1)'; + exception + when object_exists then null; + when except_01451 then null; + when except_01442 then null; +end; \ No newline at end of file