From 923ded5456131fcad3fe73e17ca07af24e9e3ca0 Mon Sep 17 00:00:00 2001 From: leonardo Date: Thu, 1 Jun 2017 20:48:03 +0000 Subject: [PATCH] fixes bug #9090 git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/BD/FlyWay/trunk@69554 d1611594-4594-4d17-8e1d-87c2c4800839 --- src/db/migration/V20170601_1404__mantis9090.sql | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 src/db/migration/V20170601_1404__mantis9090.sql diff --git a/src/db/migration/V20170601_1404__mantis9090.sql b/src/db/migration/V20170601_1404__mantis9090.sql new file mode 100644 index 000000000..9c9396c5b --- /dev/null +++ b/src/db/migration/V20170601_1404__mantis9090.sql @@ -0,0 +1,9 @@ +declare + object_exists exception; + pragma exception_init (object_exists , -00955); +begin + execute immediate 'ALTER TABLE CATEGORIA_BLOQ_IMPPOSTERIOR ADD (ACTIVO NUMBER(1) DEFAULT 0 NOT NULL)'; + execute immediate 'ALTER TABLE CATEGORIA_BLOQ_IMPPOSTERIOR ADD (FECMODIF DATE)'; + execute immediate 'ALTER TABLE CATEGORIA_BLOQ_IMPPOSTERIOR ADD (USUARIO_ID NUMBER(7))'; + exception when object_exists then null; +end; \ No newline at end of file