2
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2025-09-07 12:02:53 +08:00

FIX: Add index on user_api_keys.key_hash (#9387)

This commit is contained in:
Dan Ungureanu 2020-04-08 19:49:18 +03:00 committed by GitHub
parent 84f344c5d1
commit b64b590cfb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 0 deletions

View file

@ -116,5 +116,6 @@ end
#
# index_user_api_keys_on_client_id (client_id) UNIQUE
# index_user_api_keys_on_key (key) UNIQUE
# index_user_api_keys_on_key_hash (key_hash) UNIQUE
# index_user_api_keys_on_user_id (user_id)
#