From 7b0d54b60f6fd0d31b3846b10ca19e6630401e9e Mon Sep 17 00:00:00 2001 From: "lucas.taia" Date: Thu, 4 May 2017 20:36:21 +0000 Subject: [PATCH] fixes bug #8827 git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/BD/FlyWay/trunk@68542 d1611594-4594-4d17-8e1d-87c2c4800839 --- .../migration/V20170504_1725__mantis8827.sql | 43 +++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 src/db/migration/V20170504_1725__mantis8827.sql diff --git a/src/db/migration/V20170504_1725__mantis8827.sql b/src/db/migration/V20170504_1725__mantis8827.sql new file mode 100644 index 000000000..d374d4f49 --- /dev/null +++ b/src/db/migration/V20170504_1725__mantis8827.sql @@ -0,0 +1,43 @@ +declare + object_exists exception; + pragma exception_init (object_exists , -00955); +begin + execute immediate 'ALTER TABLE BOLETO ADD (PONTUACAOFRAUDE NUMBER(3))'; + exception when object_exists then null; +end; +/ + +declare + object_exists exception; + pragma exception_init (object_exists , -00955); +begin + execute immediate 'ALTER TABLE CAJA ADD (PONTUACAOFRAUDE NUMBER(3))'; + exception when object_exists then null; +end; +/ + +declare + object_exists exception; + pragma exception_init (object_exists , -00955); +begin + execute immediate 'ALTER TABLE EMPRESA ADD (PONTUACAOFRAUDEINI NUMBER(3))'; + exception when object_exists then null; +end; +/ + +declare + object_exists exception; + pragma exception_init (object_exists , -00955); +begin + execute immediate 'ALTER TABLE EMPRESA ADD (PONTUACAOFRAUDEFIM NUMBER(3))'; + exception when object_exists then null; +end; +/ + +declare + object_exists exception; + pragma exception_init (object_exists , -00955); +begin + execute immediate 'ALTER TABLE EMPRESA ADD (INDFIDELIDADE NUMBER(1))'; + exception when object_exists then null; +end; \ No newline at end of file