1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-18 19:40:55 +01:00

Add a missing key to the ManiphestTransaction table

Summary:
Caught a bad (8ms) query that didn't have a good key available. Add an
appropriate key.

The query in question is:

   SELECT * FROM `maniphest_transaction` WHERE taskID = 262 ORDER BY id ASC;

...which is used in the task detail view.

Test Plan: Ran EXPLAIN on this query before/after upgrading, it now uses the
newly available key.

Reviewers: jungejason, nh, tuomaspelkonen, aran

Reviewed By: aran

CC: aran

Differential Revision: 1037
This commit is contained in:
epriestley 2011-10-23 14:09:52 -07:00
parent 0669abc5f0
commit 720af267a7

View file

@ -0,0 +1,2 @@
ALTER TABLE phabricator_maniphest.maniphest_transaction
ADD KEY (taskID);