From 3fa67dad823727b96e7d6b9bda4c3b02722d1ae7 Mon Sep 17 00:00:00 2001 From: walace Date: Tue, 29 Aug 2017 18:57:14 +0000 Subject: [PATCH] fixes bug #9447 git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/BD/FlyWay/trunk@73260 d1611594-4594-4d17-8e1d-87c2c4800839 --- .classpath | 2 ++ src/db/migration/V20170823_1024__mantis9447.sql | 8 ++++++++ 2 files changed, 10 insertions(+) create mode 100644 src/db/migration/V20170823_1024__mantis9447.sql diff --git a/.classpath b/.classpath index f308f818c..f64fba5d3 100644 --- a/.classpath +++ b/.classpath @@ -9,6 +9,7 @@ + @@ -16,5 +17,6 @@ + diff --git a/src/db/migration/V20170823_1024__mantis9447.sql b/src/db/migration/V20170823_1024__mantis9447.sql new file mode 100644 index 000000000..f2601f798 --- /dev/null +++ b/src/db/migration/V20170823_1024__mantis9447.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,''ADM > RELATORIOS >> OPERACIONAIS >>REMARCAÇÃO DE PASSAGENS TRANSFERÊNCIA'',''COM.RJCONSULTORES.ADMINISTRACION.GUI.RELATORIOS.MENU.RELATORIOREMARCACAOPASSAGENSTRANSFERENCIA'',1,sysdate,-1)'; + exception when dup_val_on_index then null; +end; \ No newline at end of file