processmaker icon indicating copy to clipboard operation
processmaker copied to clipboard

FOUR-25374: 46017 - Slow query in Inbox, lack of index

Open pmPaulis opened this issue 2 months ago • 1 comments

Issue & Reproduction Steps

46017 - Slow query in Inbox, lack of index

Solution

  • the following command needs to execute in order to create the index php artisan migrate the following result will display
paulis@BO-PQUISPE processmaker % php artisan migrate                             

   INFO  Running migrations.  

  2025_08_26_130002_add_created_at_index_to_process_request_tokens .................................................................... 30.63ms DONE

How to Test

Describe how to test that this solution works.

Related Tickets & Packages

  • https://processmaker.atlassian.net/browse/FOUR-25374

Code Review Checklist

  • [ ] I have pulled this code locally and tested it on my instance, along with any associated packages.
  • [ ] This code adheres to ProcessMaker Coding Guidelines.
  • [ ] This code includes a unit test or an E2E test that tests its functionality, or is covered by an existing test.
  • [ ] This solution fixes the bug reported in the original ticket.
  • [ ] This solution does not alter the expected output of a component in a way that would break existing Processes.
  • [ ] This solution does not implement any breaking changes that would invalidate documentation or cause existing Processes to fail.
  • [ ] This solution has been tested with enterprise packages that rely on its functionality and does not introduce bugs in those packages.
  • [ ] This code does not duplicate functionality that already exists in the framework or in ProcessMaker.
  • [ ] This ticket conforms to the PRD associated with this part of ProcessMaker.

pmPaulis avatar Oct 29 '25 17:10 pmPaulis

Quality Gate passed Quality Gate passed

Issues
0 New issues
0 Fixed issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarQube