summaryrefslogtreecommitdiffstats
path: root/Bugzilla/DB
diff options
context:
space:
mode:
authorDave Lawrence <dlawrence@mozilla.com>2013-05-01 21:01:03 +0200
committerDave Lawrence <dlawrence@mozilla.com>2013-05-01 21:01:03 +0200
commitd149115ac9f1396d8515e447bf6bda0ae4495536 (patch)
treecab0c20c257f85489341dcd2754ad946d9127833 /Bugzilla/DB
parent78fbce5bf3e5faed12b8360bc8e21b8a293d5371 (diff)
downloadbugzilla-d149115ac9f1396d8515e447bf6bda0ae4495536.tar.gz
bugzilla-d149115ac9f1396d8515e447bf6bda0ae4495536.tar.xz
Bug 867177 - Backport bug 745533to bmo/4.2 to add index to audit_log table
r=glob
Diffstat (limited to 'Bugzilla/DB')
-rw-r--r--Bugzilla/DB/Schema.pm3
1 files changed, 3 insertions, 0 deletions
diff --git a/Bugzilla/DB/Schema.pm b/Bugzilla/DB/Schema.pm
index 89f0e1ecb..10307afc8 100644
--- a/Bugzilla/DB/Schema.pm
+++ b/Bugzilla/DB/Schema.pm
@@ -530,6 +530,9 @@ use constant ABSTRACT_SCHEMA => {
added => {TYPE => 'MEDIUMTEXT'},
at_time => {TYPE => 'DATETIME', NOTNULL => 1},
],
+ INDEXES => [
+ audit_log_class_idx => ['class', 'at_time'],
+ ],
},
# Keywords