@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Add missing indexes to DrydockRepositoryOperation

Summary: See PHI1885. Repository operations are queryable by state and author, but neither column has a usable key. Add usable keys.

Test Plan: Ran EXPLAIN on a state query. Ran `bin/storage upgrade`. Ran EXPLAIN again, saw query go from a table scan to a `const` key lookup.

Subscribers: PHID-OPKG-gm6ozazyms6q6i22gyam

Differential Revision: https://secure.phabricator.com/D21465

+6
+6
src/applications/drydock/storage/DrydockRepositoryOperation.php
··· 55 55 'key_repository' => array( 56 56 'columns' => array('repositoryPHID', 'operationState'), 57 57 ), 58 + 'key_state' => array( 59 + 'columns' => array('operationState'), 60 + ), 61 + 'key_author' => array( 62 + 'columns' => array('authorPHID', 'operationState'), 63 + ), 58 64 ), 59 65 ) + parent::getConfiguration(); 60 66 }