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

chore: add missing indices for user and mailbox #2319

Merged
merged 1 commit into from
Nov 13, 2024

Conversation

cquintana92
Copy link
Collaborator

This PR adds two missing indices:

  • users.default_mailbox_id. This one was really important, as when deleting a mailbox it would cause a full-table scan for users in order to try to find a user with the mailbox_id that was going to be deleted.
  • mailbox.pgp_finger_print

@cquintana92 cquintana92 added the enhancement New feature or request label Nov 13, 2024
@acasajus acasajus enabled auto-merge (squash) November 13, 2024 15:02
@acasajus acasajus merged commit 65fa1d1 into master Nov 13, 2024
6 checks passed
@acasajus acasajus deleted the chore/add-missing-indices-for-user-and-mailbox branch November 13, 2024 15:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants