From 4271efa047ab1474a1d056ea1a1c7cb7fdf5378b Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Wed, 23 Mar 2005 04:54:07 +0000 Subject: Bug 286625: Add more indexes to bugs_activity table - Patch by Shane H. W. Travis r=joel, a=justdave --- Bugzilla/DB/Schema.pm | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) (limited to 'Bugzilla/DB') diff --git a/Bugzilla/DB/Schema.pm b/Bugzilla/DB/Schema.pm index 801f353d7..610ba4c99 100644 --- a/Bugzilla/DB/Schema.pm +++ b/Bugzilla/DB/Schema.pm @@ -224,10 +224,17 @@ use constant ABSTRACT_SCHEMA => { removed => {TYPE => 'TINYTEXT'}, ], INDEXES => [ - bugs_activity_bugid_idx => ['bug_id'], - bugs_activity_who_idx => ['who'], - bugs_activity_bugwhen_idx => ['bug_when'], - bugs_activity_fieldid_idx => ['fieldid'], + bugs_activity_bugid_idx => ['bug_id'], + bugs_activity_who_idx => ['who'], + bugs_activity_bugwhen_idx => ['bug_when'], + bugs_activity_fieldid_idx => ['fieldid'], + bugs_activity_bug_field_idx => [qw(bug_id fieldid)], + bugs_activity_added_idx => {FIELDS => ['added'], + TYPE => 'FULLTEXT'}, + bugs_activity_removed_idx => {FIELDS => ['removed'], + TYPE => 'FULLTEXT'}, + bugs_activity_added_removed_idx => {FIELDS => [qw(added removed)], + TYPE => 'FULLTEXT'}, ], }, -- cgit v1.2.3-24-g4f1b