summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Bugzilla/DB/Schema.pm1
-rw-r--r--Bugzilla/Install/DB.pm6
2 files changed, 1 insertions, 6 deletions
diff --git a/Bugzilla/DB/Schema.pm b/Bugzilla/DB/Schema.pm
index 3967c8282..fb5fb9ce8 100644
--- a/Bugzilla/DB/Schema.pm
+++ b/Bugzilla/DB/Schema.pm
@@ -219,7 +219,6 @@ use constant ABSTRACT_SCHEMA => {
bugs_target_milestone_idx => ['target_milestone'],
bugs_qa_contact_idx => ['qa_contact'],
bugs_votes_idx => ['votes'],
- bugs_short_desc_idx => ['short_desc'],
],
},
diff --git a/Bugzilla/Install/DB.pm b/Bugzilla/Install/DB.pm
index 09aa5c323..f649686e7 100644
--- a/Bugzilla/Install/DB.pm
+++ b/Bugzilla/Install/DB.pm
@@ -482,11 +482,7 @@ sub update_table_definitions {
# 2006-08-19 LpSolit@gmail.com - Bug 87795
$dbh->bz_alter_column('tokens', 'userid', {TYPE => 'INT3'});
- my $sd_index = $dbh->bz_index_info('bugs', 'bugs_short_desc_idx');
- if (!$sd_index || ($sd_index->{TYPE} && $sd_index->{TYPE} eq 'FULLTEXT')) {
- $dbh->bz_drop_index('bugs', 'bugs_short_desc_idx');
- $dbh->bz_add_index('bugs', 'bugs_short_desc_idx', [qw(short_desc)]);
- }
+ $dbh->bz_drop_index('bugs', 'bugs_short_desc_idx');
# The profiles table was missing some defaults.
$dbh->bz_alter_column('profiles', 'disabledtext',