From 43d8e26962e9e50db5c93ed821f0789c582f1541 Mon Sep 17 00:00:00 2001 From: fabio Date: Tue, 19 Sep 2017 18:17:43 +0000 Subject: [PATCH] Fixes bug #9450 git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/BD/FlyWay/trunk@73989 d1611594-4594-4d17-8e1d-87c2c4800839 --- src/db/migration/V20170911_0937__mantis9450.sql | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 src/db/migration/V20170911_0937__mantis9450.sql diff --git a/src/db/migration/V20170911_0937__mantis9450.sql b/src/db/migration/V20170911_0937__mantis9450.sql new file mode 100644 index 000000000..b6a4d5d2c --- /dev/null +++ b/src/db/migration/V20170911_0937__mantis9450.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 > RELATORIO >> IMPRESSÃO POSTERIOR'',''COM.RJCONSULTORES.ADMINISTRACION.GUI.RELATORIOS.MENU.RELATORIOIMPRESSAOPOSTERIOR'',1,sysdate,-1)'; + exception when dup_val_on_index then null; +end; +*/ \ No newline at end of file