PromucFlow_constructor/app/server/appsmith-server/src
Rajat Agrawal b32b669daf
chore: Add migration for adding indexes to actionCollection collection (#30087)
Fixes #30088

This PR adds an index to actionCollection collection on
unpublished.defaultResources.pageId keypath.

This is the most used keypath in the mongo db queries that can use an
index.

Relevant slack thread here.

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

- **Refactor**
- Improved database query performance by adding an index to enhance the
search efficiency on collections.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-01-09 09:54:16 +05:30
..
main chore: Add migration for adding indexes to actionCollection collection (#30087) 2024-01-09 09:54:16 +05:30
test chore: Check new git permissions for respective git operations (#29981) 2024-01-05 10:27:56 +05:30