summaryrefslogtreecommitdiffstats
path: root/Bugzilla
diff options
context:
space:
mode:
Diffstat (limited to 'Bugzilla')
-rw-r--r--Bugzilla/DB/Schema.pm1
-rw-r--r--Bugzilla/Install/DB.pm3
2 files changed, 4 insertions, 0 deletions
diff --git a/Bugzilla/DB/Schema.pm b/Bugzilla/DB/Schema.pm
index 10307afc8..2040d0c0a 100644
--- a/Bugzilla/DB/Schema.pm
+++ b/Bugzilla/DB/Schema.pm
@@ -470,6 +470,7 @@ use constant ABSTRACT_SCHEMA => {
attachments_creation_ts_idx => ['creation_ts'],
attachments_modification_time_idx => ['modification_time'],
attachments_submitter_id_idx => ['submitter_id', 'bug_id'],
+ attachments_ispatch_idx => ['ispatch'],
],
},
attach_data => {
diff --git a/Bugzilla/Install/DB.pm b/Bugzilla/Install/DB.pm
index c61aab767..db3b8e3a3 100644
--- a/Bugzilla/Install/DB.pm
+++ b/Bugzilla/Install/DB.pm
@@ -699,6 +699,9 @@ sub update_table_definitions {
# 2012-04-15 Frank@Frank-Becker.de - Bug 740536
$dbh->bz_add_index('audit_log', 'audit_log_class_idx', ['class', 'at_time']);
+ # 2013-08-16 glob@mozilla.com - Bug 905925
+ $dbh->bz_add_index('attachments', 'attachments_ispatch_idx', ['ispatch']);
+
################################################################
# New --TABLE-- changes should go *** A B O V E *** this point #
################################################################