Page MenuHomePhorge

Add some missing indices in signup_codes table
ClosedPublic

Authored by machniak on Jan 3 2022, 11:25 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Feb 9, 10:39 AM
Unknown Object (File)
Sun, Feb 9, 12:00 AM
Unknown Object (File)
Sat, Feb 8, 4:43 PM
Unknown Object (File)
Sat, Feb 8, 12:46 AM
Unknown Object (File)
Fri, Feb 7, 8:07 PM
Unknown Object (File)
Thu, Feb 6, 5:02 PM
Unknown Object (File)
Sun, Feb 2, 9:51 AM
Unknown Object (File)
Fri, Jan 31, 9:06 AM
Subscribers
Restricted Project

Details

Reviewers
vanmeeuwen
Group Reviewers
Restricted Project
Commits
rKba18be4fbe73: Add some missing indices in signup_codes table
Summary

We query the table by email and ip_address and expires_at columns.

I also replaced whereDate() with where() in these queries as more appropriate.

Test Plan

./phpunit

Diff Detail

Repository
rK kolab
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

machniak created this revision.
This revision is now accepted and ready to land.Jan 3 2022, 11:30 AM
This revision was automatically updated to reflect the committed changes.