diff --git a/src/db/migration/V20161222_1130__mantis8120.sql b/src/db/migration/V20161222_1130__mantis8120.sql new file mode 100644 index 000000000..4a3336b29 --- /dev/null +++ b/src/db/migration/V20161222_1130__mantis8120.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 > EXPORTACAO FISCAL'',''COM.RJCONSULTORES.ADMINISTRACION.GUI.RELATORIOS.EXPORTACAO.RMDECF'',1,SYSDATE, -1)'; + + exception when dup_val_on_index then null; +end; \ No newline at end of file