diff options
author | Frédéric Buclin <LpSolit@gmail.com> | 2014-07-31 18:38:18 +0200 |
---|---|---|
committer | Frédéric Buclin <LpSolit@gmail.com> | 2014-07-31 18:38:18 +0200 |
commit | 8770b2cb9cbbb61c1eae54c9ce1f564f9d350044 (patch) | |
tree | 371b4b06a423afa27e45439529f1b1d21cf7f320 /Bugzilla/DB | |
parent | 98041ff1623da960b1ded466957ba1fabd3ab7cd (diff) | |
download | bugzilla-8770b2cb9cbbb61c1eae54c9ce1f564f9d350044.tar.gz bugzilla-8770b2cb9cbbb61c1eae54c9ce1f564f9d350044.tar.xz |
Bug 1044561: Bad definition of indexes for the new user_api_keys DB table
r=sgreen a=glob
Diffstat (limited to 'Bugzilla/DB')
-rw-r--r-- | Bugzilla/DB/Schema.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Bugzilla/DB/Schema.pm b/Bugzilla/DB/Schema.pm index b175f1554..2fa811042 100644 --- a/Bugzilla/DB/Schema.pm +++ b/Bugzilla/DB/Schema.pm @@ -1749,8 +1749,8 @@ use constant ABSTRACT_SCHEMA => { last_used => {TYPE => 'DATETIME'}, ], INDEXES => [ - user_api_keys_key => {FIELDS => ['api_key'], TYPE => 'UNIQUE'}, - user_api_keys_user_id => {FIELDS => ['user_id']}, + user_api_keys_api_key_idx => {FIELDS => ['api_key'], TYPE => 'UNIQUE'}, + user_api_keys_user_id_idx => ['user_id'], ], }, }; |