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:
parent
0669abc5f0
commit
720af267a7
1 changed files with 2 additions and 0 deletions
2
resources/sql/patches/082.xactionkey.sql
Normal file
2
resources/sql/patches/082.xactionkey.sql
Normal file
|
@ -0,0 +1,2 @@
|
|||
ALTER TABLE phabricator_maniphest.maniphest_transaction
|
||||
ADD KEY (taskID);
|
Loading…
Reference in a new issue