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

Add indexes to pictures table #2466

Merged
merged 1 commit into from
May 9, 2023

Conversation

sascha-karnatz
Copy link
Contributor

What is this pull request for?

Added two indexes to alchemy_pictures to prevent temp tables if the user is searching for named pictures. This is only necessary if the size of the table increases.

Checklist

  • I have followed Pull Request guidelines
  • I have added a detailed description into each commit message
  • I have added tests to cover this change

The Index will prevent temp tables if the user is searching for name or file_name. This is necessary if the table becomes bigger.
@tvdeyen tvdeyen merged commit bf3edf9 into AlchemyCMS:main May 9, 2023
@tvdeyen tvdeyen added this to the 7.0 milestone May 9, 2023
tvdeyen added a commit to tvdeyen/alchemy_cms that referenced this pull request May 9, 2023
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.

2 participants