diff --git a/src/db/migration/V20170729_1139__mantis9386.sql b/src/db/migration/V20170729_1139__mantis9386.sql new file mode 100644 index 000000000..317e9558d --- /dev/null +++ b/src/db/migration/V20170729_1139__mantis9386.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 >> RELATORIO RDI'',''COM.RJCONSULTORES.ADMINISTRACION.GUI.RELATORIOS.RELATORIORDI'',1,sysdate,-1)'; + exception when dup_val_on_index then null; +end; +