Skip to content
This repository has been archived by the owner on Oct 10, 2024. It is now read-only.

add indexes to user model #140

Merged
merged 1 commit into from
Jun 9, 2021
Merged

add indexes to user model #140

merged 1 commit into from
Jun 9, 2021

Conversation

itsthejoker
Copy link
Member

Relevant issue: N/a

Description:

Login queries take a while because the email field isn't indexed; we also use the username field to filter by elsewhere, so it doesn't hurt to throw an index there too.

Checklist:

  • Code Quality
  • Pep-8
  • Tests (if applicable)
  • Success Criteria Met
  • Inline Documentation
  • Wiki Documentation (if applicable)

@itsthejoker itsthejoker requested a review from a team as a code owner June 8, 2021 17:46
@itsthejoker itsthejoker merged commit 9ebd4ca into master Jun 9, 2021
@itsthejoker itsthejoker deleted the add-username-email-index branch June 9, 2021 04:30
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants