From 7e24230a3e7929c48d78f4b9b16d39aa33516949 Mon Sep 17 00:00:00 2001 From: fabio Date: Tue, 6 Mar 2018 12:12:07 +0000 Subject: [PATCH] Fixes bug #10336 dev: @Tiago qua: @Marcelo git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/BD/FlyWay/trunk@79545 d1611594-4594-4d17-8e1d-87c2c4800839 --- src/db/migration/V20180302_1804__mantis10336.sql | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 src/db/migration/V20180302_1804__mantis10336.sql diff --git a/src/db/migration/V20180302_1804__mantis10336.sql b/src/db/migration/V20180302_1804__mantis10336.sql new file mode 100644 index 000000000..380ff2550 --- /dev/null +++ b/src/db/migration/V20180302_1804__mantis10336.sql @@ -0,0 +1,7 @@ +declare + object_exists exception; + pragma exception_init (object_exists , -01430); +begin + execute immediate 'ALTER TABLE EMPRESA ADD ( INDPERMVENMANUTODOSESTADOS NUMBER(1, 0) DEFAULT 0 )'; + exception when object_exists then null; +end; \ No newline at end of file