mirror of
https://github.com/zulip/zulip.git
synced 2025-11-04 14:03:30 +00:00
This prevents `get_user_profile_by_api_key` from doing a sequential scan. Doing this requires moving the generation of initial api_key values into the column definition, so that even bare calls to `UserProfile.objects.create` (e.g. from tests) call appropriately generate a random initial value.
8.6 KiB
8.6 KiB