mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-23 17:01:35 -05:00
We were doing this temporarily while the `normalised_to` field was not populated for letters. Once we have a week of data in the `normalised_to` field we can stop looking in the `to` field. This should improve performance because: - it’s one `WHERE` clause not two - we had to do `ilike` on the `to` field, because we don’t lowercase its contents – even if the two where clauses are somehow paralleized it’s is slower than a `like` comparison, which is case-sensitive Depends on: - [ ] Tuesday 5 May (7 full days after deploying https://github.com/alphagov/notifications-api/pull/2814)
28 KiB
28 KiB