From 86d4e20e8f6cef6f0ff7d4678eed6ee9de5cd84b Mon Sep 17 00:00:00 2001 From: alberto Date: Thu, 31 Aug 2017 23:06:12 +0000 Subject: [PATCH] Gravar CRO caja / boleto (issue 9752) git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/BD/FlyWay/trunk@73412 d1611594-4594-4d17-8e1d-87c2c4800839 --- src/db/migration/V20170831_1815__mantis9752.sql | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/db/migration/V20170831_1815__mantis9752.sql b/src/db/migration/V20170831_1815__mantis9752.sql index f894fff44..a998f064b 100644 --- a/src/db/migration/V20170831_1815__mantis9752.sql +++ b/src/db/migration/V20170831_1815__mantis9752.sql @@ -14,3 +14,12 @@ begin execute immediate 'ALTER TABLE CAJA ADD (CRO VARCHAR2(4))'; exception when column_exists then null; end; +/ + +declare + column_exists exception; + pragma exception_init (column_exists , -01430); +begin + execute immediate 'ALTER TABLE EVENTO_EXTRA ADD (CRO VARCHAR2(4))'; + exception when column_exists then null; +end;