aboutsummaryrefslogtreecommitdiffstats
path: root/Bugzilla/DB
diff options
context:
space:
mode:
authorFrank Becker <Frank@Frank-Becker.de>2012-06-08 10:05:52 -0400
committerDave Lawrence <dlawrence@mozilla.com>2012-06-08 10:05:52 -0400
commit4a73f6aa87301ae6df3b0360043cc23301e1f68f (patch)
treef1e7d729adc429b81a89a74c71f636ff241b2d8a /Bugzilla/DB
parente0bd7772190fa654c7c65e1df98b60fa96c4d15d (diff)
downloadbugs-4a73f6aa87301ae6df3b0360043cc23301e1f68f.tar
bugs-4a73f6aa87301ae6df3b0360043cc23301e1f68f.tar.gz
bugs-4a73f6aa87301ae6df3b0360043cc23301e1f68f.tar.bz2
bugs-4a73f6aa87301ae6df3b0360043cc23301e1f68f.tar.xz
bugs-4a73f6aa87301ae6df3b0360043cc23301e1f68f.zip
Bug 745533 - database add index audit_log_class_at_time_idx for audit_log
r=dkl, a=LpSolit
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 11d88c8fc..06d4a632d 100644
--- a/Bugzilla/DB/Schema.pm
+++ b/Bugzilla/DB/Schema.pm
@@ -506,6 +506,9 @@ use constant ABSTRACT_SCHEMA => {
added => {TYPE => 'MEDIUMTEXT'},
at_time => {TYPE => 'DATETIME', NOTNULL => 1},
],
+ INDEXES => [
+ audit_log_class_idx => ['class', 'at_time'],
+ ],
},
# Keywords