diff options
author | Frédéric Buclin <LpSolit@gmail.com> | 2012-02-15 16:25:03 +0100 |
---|---|---|
committer | Frédéric Buclin <LpSolit@gmail.com> | 2012-02-15 16:25:03 +0100 |
commit | b9382a0880f28ce3ef743b6258acc9d49d8e6fa1 (patch) | |
tree | ac4b6d08a28ed93400be09842eb12d499cb5914c /Bugzilla/Install | |
parent | 21d70ded395e9aefde26d7d9410cd158d3b614fc (diff) | |
download | bugs-b9382a0880f28ce3ef743b6258acc9d49d8e6fa1.tar bugs-b9382a0880f28ce3ef743b6258acc9d49d8e6fa1.tar.gz bugs-b9382a0880f28ce3ef743b6258acc9d49d8e6fa1.tar.bz2 bugs-b9382a0880f28ce3ef743b6258acc9d49d8e6fa1.tar.xz bugs-b9382a0880f28ce3ef743b6258acc9d49d8e6fa1.zip |
Bug 722113: The profile_search table has a wrong index name
r=glob a=LpSolit
Diffstat (limited to 'Bugzilla/Install')
-rw-r--r-- | Bugzilla/Install/DB.pm | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Bugzilla/Install/DB.pm b/Bugzilla/Install/DB.pm index 3fa6758d7..33da1cba8 100644 --- a/Bugzilla/Install/DB.pm +++ b/Bugzilla/Install/DB.pm @@ -660,6 +660,12 @@ sub update_table_definitions { # 2011-11-28 dkl@mozilla.com - Bug 685611 _fix_notnull_defaults(); + # 2012-02-15 LpSolit@gmail.com - Bug 722113 + if ($dbh->bz_index_info('profile_search', 'profile_search_user_id')) { + $dbh->bz_drop_index('profile_search', 'profile_search_user_id'); + $dbh->bz_add_index('profile_search', 'profile_search_user_id_idx', [qw(user_id)]); + } + ################################################################ # New --TABLE-- changes should go *** A B O V E *** this point # ################################################################ |