From 8770b2cb9cbbb61c1eae54c9ce1f564f9d350044 Mon Sep 17 00:00:00 2001 From: Frédéric Buclin Date: Thu, 31 Jul 2014 18:38:18 +0200 Subject: Bug 1044561: Bad definition of indexes for the new user_api_keys DB table r=sgreen a=glob --- Bugzilla/DB/Schema.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Bugzilla/DB') 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'], ], }, }; -- cgit v1.2.3-24-g4f1b