From e8c59cb7919797146d2028698e84b7d9608a1d05 Mon Sep 17 00:00:00 2001 From: alberto Date: Thu, 31 Aug 2017 22:30:30 +0000 Subject: [PATCH] Gravar CRO caja / boleto (issue 9752) git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/BD/FlyWay/trunk@73408 d1611594-4594-4d17-8e1d-87c2c4800839 --- src/db/migration/V20170831_1815__mantis9752.sql | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 src/db/migration/V20170831_1815__mantis9752.sql diff --git a/src/db/migration/V20170831_1815__mantis9752.sql b/src/db/migration/V20170831_1815__mantis9752.sql new file mode 100644 index 000000000..f894fff44 --- /dev/null +++ b/src/db/migration/V20170831_1815__mantis9752.sql @@ -0,0 +1,16 @@ +declare + column_exists exception; + pragma exception_init (column_exists , -01430); +begin + execute immediate 'ALTER TABLE BOLETO 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 CAJA ADD (CRO VARCHAR2(4))'; + exception when column_exists then null; +end;