From d149115ac9f1396d8515e447bf6bda0ae4495536 Mon Sep 17 00:00:00 2001 From: Dave Lawrence Date: Wed, 1 May 2013 15:01:03 -0400 Subject: Bug 867177 - Backport bug 745533to bmo/4.2 to add index to audit_log table r=glob --- Bugzilla/DB/Schema.pm | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Bugzilla/DB') 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 -- cgit v1.2.3-24-g4f1b