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