diff options
author | Andreas Brandl <abrandl@gitlab.com> | 2019-09-04 19:33:18 +0200 |
---|---|---|
committer | Andreas Brandl <abrandl@gitlab.com> | 2019-09-04 20:04:34 +0200 |
commit | 7a890ae9ba053835d0bcb6473bdb3b1972dc882b (patch) | |
tree | 865c1bc428628bf416258d344ad0bc294fa89660 /.codeclimate.yml | |
parent | 21924175ea4879389cb5144b28e92d30d236ec38 (diff) | |
download | gitlab-ce-ab/unconfirmed-email-index.tar.gz |
Create index for users.unconfirmed_emailab/unconfirmed-email-index
This speeds up the following query:
```sql
SELECT users.* FROM users WHERE users.unconfirmed_email = ? ORDER BY
users.id ASC LIMIT 1
```
Presumably, this is a query coming from Devise.
Context is https://gitlab.com/gitlab-org/gitlab-ce/issues/66958.
Diffstat (limited to '.codeclimate.yml')
0 files changed, 0 insertions, 0 deletions