From 1e19e662ae3d1dde739a870813c24976bb24a697 Mon Sep 17 00:00:00 2001 From: "lucas.taia" Date: Wed, 26 Jul 2017 22:24:05 +0000 Subject: [PATCH] bug #9287 git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/BD/FlyWay/trunk@71942 d1611594-4594-4d17-8e1d-87c2c4800839 --- src/db/migration/V20170726_1920__mantis9287.sql | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 src/db/migration/V20170726_1920__mantis9287.sql diff --git a/src/db/migration/V20170726_1920__mantis9287.sql b/src/db/migration/V20170726_1920__mantis9287.sql new file mode 100644 index 000000000..511f14a79 --- /dev/null +++ b/src/db/migration/V20170726_1920__mantis9287.sql @@ -0,0 +1,17 @@ +declare + object_exists exception; + pragma exception_init (object_exists , -01430); +begin + execute immediate 'ALTER TABLE FISCAL_IMPRESSORA ADD (INDVALIDAESTADO NUMBER(1) DEFAULT 0 NOT NULL)'; + exception when object_exists then null; +end; +/ +declare + object_exists exception; + pragma exception_init (object_exists , -01430); +begin + execute immediate 'ALTER TABLE FISCAL_IMPRESSORA MODIFY (INDBLOQUEAECF DEFAULT 0 NOT NULL)'; + exception when object_exists then null; +end; + +