From 671613d116c4d45bdd12706d785a3ce05181a487 Mon Sep 17 00:00:00 2001 From: luis Date: Mon, 16 Oct 2017 21:02:30 +0000 Subject: [PATCH] Issue #9758: ESPEC P337 - MAPA DE VIAGEM git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/BD/FlyWay/trunk@74910 d1611594-4594-4d17-8e1d-87c2c4800839 --- src/db/migration/V20171016_1800__mantis9758.sql | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 src/db/migration/V20171016_1800__mantis9758.sql diff --git a/src/db/migration/V20171016_1800__mantis9758.sql b/src/db/migration/V20171016_1800__mantis9758.sql new file mode 100644 index 000000000..7461f5535 --- /dev/null +++ b/src/db/migration/V20171016_1800__mantis9758.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, ''BLOQUEO LOCALIDADE PARA VENDA'', ''COM.RJCONSULTORES.VENTABOLETOS.MAPAVIAGEM.BLOQUEOVENDA'', 1, sysdate, 1)'; + exception when dup_val_on_index then null; +end; \ No newline at end of file