From 35c631aa908454acf50d90f49c2e6f3956f8b663 Mon Sep 17 00:00:00 2001 From: thiago Date: Wed, 26 Jul 2017 21:51:43 +0000 Subject: [PATCH] =?UTF-8?q?fixed=20bug=20#9356=20-=20Corre=C3=A7=C3=A3o=20?= =?UTF-8?q?de=20problemas=20em=20cancelamento.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/BD/FlyWay/trunk@71933 d1611594-4594-4d17-8e1d-87c2c4800839 --- .../migration/V20170726_1553__mantis9356.sql | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 src/db/migration/V20170726_1553__mantis9356.sql diff --git a/src/db/migration/V20170726_1553__mantis9356.sql b/src/db/migration/V20170726_1553__mantis9356.sql new file mode 100644 index 000000000..65e7609e5 --- /dev/null +++ b/src/db/migration/V20170726_1553__mantis9356.sql @@ -0,0 +1,18 @@ +declare + column_exists exception; + pragma exception_init (column_exists , -01430); +begin + execute immediate 'alter table ocd add( NUMTARJETA VARCHAR2(48 BYTE), +NUMAUTORIZACION VARCHAR2(45 BYTE), +NSU VARCHAR2(18 BYTE))'; + exception when column_exists then null; +end; +/ +declare + column_exists exception; + pragma exception_init (column_exists , -01430); +begin + execute immediate 'alter table OCD_PARAM add INDOCDDINHEIRO number(1) default 1'; + exception when column_exists then null; +end; +