From baacc6723235570dfa925ed301f36e149391a9df Mon Sep 17 00:00:00 2001 From: fabio Date: Wed, 6 Sep 2017 20:55:03 +0000 Subject: [PATCH] Fixes bug #9448 git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/BD/FlyWay/trunk@73580 d1611594-4594-4d17-8e1d-87c2c4800839 --- src/db/migration/V20170901_1356__mantis9448.sql | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 src/db/migration/V20170901_1356__mantis9448.sql diff --git a/src/db/migration/V20170901_1356__mantis9448.sql b/src/db/migration/V20170901_1356__mantis9448.sql new file mode 100644 index 000000000..4397e66bc --- /dev/null +++ b/src/db/migration/V20170901_1356__mantis9448.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 > RELATORIO >> FINANCEIRO >>> VENDAS COM PARCELAMENTO'',''COM.RJCONSULTORES.ADMINISTRACION.GUI.RELATORIOS.MENU.RELATORIOVENDASPARCELAMENTO'',1,sysdate,-1)'; + exception when dup_val_on_index then null; +end; \ No newline at end of file