mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-18 19:40:55 +01:00
Add an index to the story notification table
Summary: Fixes T8433. Add an index to the `phabricator_feed.feed_storynotification` table. Primarily, this speeds up object destruction. Test Plan: Ran `./bin/storage upgrade` and saw the migration apply cleanly. Reviewers: epriestley, #blessed_reviewers Reviewed By: epriestley, #blessed_reviewers Subscribers: Korvin, epriestley Maniphest Tasks: T8433 Differential Revision: https://secure.phabricator.com/D13164
This commit is contained in:
parent
b6e2f0087e
commit
7eac4865ab
1 changed files with 3 additions and 0 deletions
|
@ -25,6 +25,9 @@ final class PhabricatorFeedStoryNotification extends PhabricatorFeedDAO {
|
|||
'userPHID_2' => array(
|
||||
'columns' => array('userPHID', 'hasViewed', 'primaryObjectPHID'),
|
||||
),
|
||||
'key_object' => array(
|
||||
'columns' => array('primaryObjectPHID'),
|
||||
),
|
||||
),
|
||||
) + parent::getConfiguration();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue