Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve Database indexing #2104

Merged
merged 3 commits into from
Feb 11, 2023
Merged

Conversation

fleshgolem
Copy link
Contributor

What type of PR is this?

  • cleanup

What this PR does / why we need it:

As mentioned in #2077 the indexing on the database is maybe less than ideal with a bunch of indices missing for fields that are regularly used for joining/ordering/filtering. This adds a lot of those that I quickly determined to be helpful/necessary, but might not be fully comprehensive since a lot of filtering and ordering is determined by the frontend and I might be missing things from there

Which issue(s) this PR fixes:

Fixes #2077

Testing

Ran all tests as per usual, nothing else should really be necessary

Release Notes

NONE

@fleshgolem fleshgolem mentioned this pull request Feb 10, 2023
@hay-kot hay-kot merged commit 7d4a379 into mealie-recipes:mealie-next Feb 11, 2023
@fleshgolem fleshgolem deleted the fix/2077 branch February 24, 2023 22:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[v1.0.0b] [Task] - Improve indexes on database
2 participants