From 75ce73973fcc1b94f0a752713f3e10f519456c3b Mon Sep 17 00:00:00 2001 From: thiago Date: Mon, 17 Jul 2017 20:20:18 +0000 Subject: [PATCH] =?UTF-8?q?fixed=20bug=20#9107=20-=20Altera=C3=A7=C3=A3o?= =?UTF-8?q?=20que=20permite=20bloquear=20boleto=20de=20impress=C3=A3o=20po?= =?UTF-8?q?sterior=20para=20impress=C3=A3o/troca/cancelamento/transferenci?= =?UTF-8?q?a.?= 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@71451 d1611594-4594-4d17-8e1d-87c2c4800839 --- src/db/migration/V20170703_1921__mantis9107.sql | 8 ++++++++ src/db/migration/V20170715_2234__mantis9107.sql | 8 ++++++++ 2 files changed, 16 insertions(+) create mode 100644 src/db/migration/V20170703_1921__mantis9107.sql create mode 100644 src/db/migration/V20170715_2234__mantis9107.sql diff --git a/src/db/migration/V20170703_1921__mantis9107.sql b/src/db/migration/V20170703_1921__mantis9107.sql new file mode 100644 index 000000000..5bb38de6a --- /dev/null +++ b/src/db/migration/V20170703_1921__mantis9107.sql @@ -0,0 +1,8 @@ +declare + column_exists exception; + pragma exception_init (column_exists , -01430); +begin + execute immediate 'ALTER TABLE BOLETO ADD (INDBLOQUEIOPTA NUMBER(1,0))'; + exception when column_exists then null; +end; + \ No newline at end of file diff --git a/src/db/migration/V20170715_2234__mantis9107.sql b/src/db/migration/V20170715_2234__mantis9107.sql new file mode 100644 index 000000000..c7bb2351a --- /dev/null +++ b/src/db/migration/V20170715_2234__mantis9107.sql @@ -0,0 +1,8 @@ +declare + dup_val_on_index exception; + pragma exception_init (dup_val_on_index , -00001); +begin + execute immediate 'Insert into FUNCION_SISTEMA (FUNCIONSISTEMA_ID,SISTEMA_ID,NOMBFUNCION,DESCRUTA,ACTIVO,FECMODIF,USUARIO_ID) values (FUNCION_SISTEMA_SEQ.nextval,''1'',''VDA > VENDA >> ENTREGA PASSAGEM >>> BLOQUEIO PTA'',''COM.RJCONSULTORES.VENTABOLETOS.ENTREGABOLETOS.BLOQUEIOPTA'',''1'',sysdate,''1'')'; + exception when dup_val_on_index then null; +end; +