From 682721b1cf3ac5a91923b2fc9295f9ce034fc493 Mon Sep 17 00:00:00 2001 From: thiago Date: Thu, 20 Jul 2017 16:39:46 +0000 Subject: [PATCH] =?UTF-8?q?fixed=20bug=20#9107=20-=20Inclus=C3=A3o=20de=20?= =?UTF-8?q?permiss=C3=A3o=20para=20utilizar=20pta=20mesmo=20bloqueado.?= 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@71657 d1611594-4594-4d17-8e1d-87c2c4800839 --- src/db/migration/V20170720_1055__mantis9107.sql | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 src/db/migration/V20170720_1055__mantis9107.sql diff --git a/src/db/migration/V20170720_1055__mantis9107.sql b/src/db/migration/V20170720_1055__mantis9107.sql new file mode 100644 index 000000000..53d5db129 --- /dev/null +++ b/src/db/migration/V20170720_1055__mantis9107.sql @@ -0,0 +1,7 @@ +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 >>> UTILIZAR PTA BLOQUEADO'',''COM.RJCONSULTORES.VENTABOLETOS.ENTREGABOLETOS.UTILIZARPTABLOQUEADO'',''1'',sysdate,''1'')'; + exception when dup_val_on_index then null; +end; \ No newline at end of file