From 16c282f441b68c963304b0bea4de893623472af1 Mon Sep 17 00:00:00 2001 From: leonardo Date: Thu, 27 Jul 2017 19:31:36 +0000 Subject: [PATCH] fixes bug #9339 git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/BD/FlyWay/trunk@71978 d1611594-4594-4d17-8e1d-87c2c4800839 --- src/db/migration/V20170727_1557__mantis9339.sql | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 src/db/migration/V20170727_1557__mantis9339.sql diff --git a/src/db/migration/V20170727_1557__mantis9339.sql b/src/db/migration/V20170727_1557__mantis9339.sql new file mode 100644 index 000000000..ad3df6992 --- /dev/null +++ b/src/db/migration/V20170727_1557__mantis9339.sql @@ -0,0 +1,7 @@ +declare + object_exists exception; + pragma exception_init (object_exists , -01430); +begin + execute immediate 'ALTER TABLE TRAMO ADD (CANTKMENTRADASAIDA NUMBER(7,2) DEFAULT 0 NOT NULL)'; + exception when object_exists then null; +end; \ No newline at end of file