From 73b5875c79a28b5df8ed1653decbbf796ddb624f Mon Sep 17 00:00:00 2001 From: wilian Date: Mon, 28 Nov 2016 16:48:19 +0000 Subject: [PATCH] fixes bug #8287 git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/BD/FlyWay/trunk@62938 d1611594-4594-4d17-8e1d-87c2c4800839 --- src/db/migration/V20161128_1022__mantis8287.sql | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 src/db/migration/V20161128_1022__mantis8287.sql diff --git a/src/db/migration/V20161128_1022__mantis8287.sql b/src/db/migration/V20161128_1022__mantis8287.sql new file mode 100644 index 000000000..6fcc3e5ad --- /dev/null +++ b/src/db/migration/V20161128_1022__mantis8287.sql @@ -0,0 +1,7 @@ +declare + column_exists exception; + pragma exception_init (column_exists , -01430); +begin + execute immediate 'ALTER TABLE EMPRESA ADD (INDNAOPERMITECONFSEMMALOTE NUMBER(1,0) DEFAULT 0 NOT NULL)'; + exception when column_exists then null; +end; \ No newline at end of file