Add "Date Updated" query fields for Maniphest

Summary:
Fixes T4637.

  - We already allow you to order by this column but don't have a key on it. Add one.
  - Expose UI for querying on ranges.

Test Plan:
  - Ran some queries, got reasonable-looking results and no table scans.

Reviewers: btrahan, bigo

Reviewed By: bigo

Subscribers: bigo, epriestley

Maniphest Tasks: T4637

Differential Revision: https://secure.phabricator.com/D8557
This commit is contained in:
epriestley
2014-03-17 15:53:07 -07:00
parent ba8925a531
commit 5b2887b69b
3 changed files with 49 additions and 0 deletions

View File

@@ -0,0 +1,2 @@
ALTER TABLE {$NAMESPACE}_maniphest.maniphest_task
ADD KEY `key_dateModified` (dateModified);