password_policy_users table needs a primary key/index
dayre - September 25, 2006 - 05:34
| Project: | Password policy |
| Version: | 5.x-1.x-dev |
| Component: | Miscellaneous |
| Category: | bug report |
| Priority: | normal |
| Assigned: | dayre |
| Status: | closed |
Description
The table storing the user password histories should have an index, likely a composite key (id, created) using the user id and the creation timestamp.

#1
I added regular indexes. If primary is more appropriate, there are just 4 places to add PRIMARY.
#2
Committed. thanks.
#3
Automatically closed -- issue fixed for two weeks with no activity.