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)
Wed, Apr 17, 9:04 AM
Unknown Object (File)
Mon, Apr 8, 10:58 PM
Unknown Object (File)
Sun, Apr 7, 9:46 AM
Unknown Object (File)
Sat, Apr 6, 2:03 PM
Unknown Object (File)
Fri, Mar 29, 9:52 AM
Unknown Object (File)
Mon, Mar 25, 1:20 AM
Unknown Object (File)
Mon, Mar 25, 1:20 AM
Unknown Object (File)
Mon, Mar 25, 1:20 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.