Add date-based index to origin_visit
This will help queries retrieving origin_visits by date by avoiding having to scan all visits for the origin and then sorting them.
Test Plan
We did it in prod™
Migrated from D8466 (view on Phabricator)
Staging instance, all changes can be removed at any time
This will help queries retrieving origin_visits by date by avoiding having to scan all visits for the origin and then sorting them.
We did it in prod™
Migrated from D8466 (view on Phabricator)