summaryrefslogtreecommitdiffstats
path: root/Bugzilla/DB
diff options
context:
space:
mode:
authorDylan William Hardison <dylan@hardison.net>2014-06-12 23:24:30 +0200
committerDylan William Hardison <dylan@hardison.net>2014-06-13 00:04:32 +0200
commit9916f57f9b56b50aaa82cdfa8fdd6a0c2d46f5d2 (patch)
treefe9ba9fab42bb6dd619008b956b2d816ca091ded /Bugzilla/DB
parent9d30eded7551522daaae44f1728e299264d40e38 (diff)
downloadbugzilla-9916f57f9b56b50aaa82cdfa8fdd6a0c2d46f5d2.tar.gz
bugzilla-9916f57f9b56b50aaa82cdfa8fdd6a0c2d46f5d2.tar.xz
Bug 1022923 - Add index to bug_user_last_visit.last_visit_ts
Diffstat (limited to 'Bugzilla/DB')
-rw-r--r--Bugzilla/DB/Schema.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/Bugzilla/DB/Schema.pm b/Bugzilla/DB/Schema.pm
index cbcb5b26c..be392c105 100644
--- a/Bugzilla/DB/Schema.pm
+++ b/Bugzilla/DB/Schema.pm
@@ -1730,7 +1730,8 @@ use constant ABSTRACT_SCHEMA => {
],
INDEXES => [
bug_user_last_visit_idx => {FIELDS => ['user_id', 'bug_id'],
- TYPE => 'UNIQUE'}
+ TYPE => 'UNIQUE'},
+ bug_user_last_visit_last_visit_ts_idx => ['last_visit_ts'],
],
},
};