From 54b25fbfcd7426f7323dce7b4856258e03cb1ad3 Mon Sep 17 00:00:00 2001 From: valdevir Date: Fri, 4 Aug 2017 20:02:27 +0000 Subject: [PATCH] fixes bug #9485 git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/BD/FlyWay/trunk@72323 d1611594-4594-4d17-8e1d-87c2c4800839 --- src/db/migration/V20170804_0820__mantis9485.sql | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 src/db/migration/V20170804_0820__mantis9485.sql diff --git a/src/db/migration/V20170804_0820__mantis9485.sql b/src/db/migration/V20170804_0820__mantis9485.sql new file mode 100644 index 000000000..358eec65b --- /dev/null +++ b/src/db/migration/V20170804_0820__mantis9485.sql @@ -0,0 +1,7 @@ +declare + object_exists exception; + pragma exception_init (object_exists , -01430); +begin + execute immediate 'ALTER TABLE ORGAO_CONCEDENTE ADD INDUTILIZAICMS NUMBER(1) DEFAULT 1 NOT NULL'; + exception when object_exists then null; +end; \ No newline at end of file