From cde0657d597e8de272d19385acb5254d5dd28b28 Mon Sep 17 00:00:00 2001 From: "lucas.calixto" Date: Wed, 3 May 2017 12:32:40 +0000 Subject: [PATCH] fixes bug#8748 git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/BD/FlyWay/trunk@68447 d1611594-4594-4d17-8e1d-87c2c4800839 --- src/db/migration/V20170503_0908__mantis8748.sql | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 src/db/migration/V20170503_0908__mantis8748.sql diff --git a/src/db/migration/V20170503_0908__mantis8748.sql b/src/db/migration/V20170503_0908__mantis8748.sql new file mode 100644 index 000000000..32618355c --- /dev/null +++ b/src/db/migration/V20170503_0908__mantis8748.sql @@ -0,0 +1,9 @@ +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 >> BAIXAS VENDAS INTERNET'', + ''COM.RJCONSULTORES.ADMINISTRACION.GUI.RELATORIOS.MENU.RELATORIOBAIXASVENDASINTERNET'',1,SYSDATE,-1)'; + exception when dup_val_on_index then null; +end; \ No newline at end of file