aboutsummaryrefslogtreecommitdiffstats
path: root/Bugzilla/DB
diff options
context:
space:
mode:
authorDylan William Hardison <dylan@hardison.net>2014-06-12 17:21:54 -0400
committerDylan William Hardison <dylan@hardison.net>2014-06-12 17:22:31 -0400
commiteb13c383198a1c52a7858fdf3fee0248262bbaf0 (patch)
tree424cf252ff7e66934b6b2cfe80829dcde7e5a145 /Bugzilla/DB
parent6f1a5f0a2c0abfed6839d92d71cfdce9820037b0 (diff)
downloadbugs-eb13c383198a1c52a7858fdf3fee0248262bbaf0.tar
bugs-eb13c383198a1c52a7858fdf3fee0248262bbaf0.tar.gz
bugs-eb13c383198a1c52a7858fdf3fee0248262bbaf0.tar.bz2
bugs-eb13c383198a1c52a7858fdf3fee0248262bbaf0.tar.xz
bugs-eb13c383198a1c52a7858fdf3fee0248262bbaf0.zip
Bug 1022923 - Add index to bug_user_last_visit.last_visit_ts
r/a=glob
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 cf404f4ca..632ab639b 100644
--- a/Bugzilla/DB/Schema.pm
+++ b/Bugzilla/DB/Schema.pm
@@ -1729,7 +1729,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'],
],
},
};