1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-22 14:52:41 +01:00

Add a missing migration for transaction actors

Summary: Add a missing migration which should have been included in D9982. Harbormaster and Herald PHIDs are used as actors in some transactions.

Test Plan: Ran `./bin/storage upgrade`. Saw a transaction render correctly as "Herald assigned this task to alincoln" instead of "Unknown Object (Application) assigned this task to alincoln".

Reviewers: #blessed_reviewers, epriestley

Reviewed By: #blessed_reviewers, epriestley

Subscribers: epriestley, Korvin

Differential Revision: https://secure.phabricator.com/D10028
This commit is contained in:
Joshua Spence 2014-07-23 23:11:36 +10:00
parent 86c399b657
commit e0a7d47e0d

View file

@ -0,0 +1,13 @@
UPDATE {$NAMESPACE}_differential.differential_transaction
SET authorPHID = 'PHID-APPS-PhabricatorHeraldApplication'
WHERE authorPHID = 'PHID-APPS-PhabricatorApplicationHerald';
UPDATE {$NAMESPACE}_maniphest.maniphest_transaction
SET authorPHID = 'PHID-APPS-PhabricatorHeraldApplication'
WHERE authorPHID = 'PHID-APPS-PhabricatorApplicationHerald';
UPDATE {$NAMESPACE}_pholio.pholio_transaction
SET authorPHID = 'PHID-APPS-PhabricatorHeraldApplication'
WHERE authorPHID = 'PHID-APPS-PhabricatorApplicationHerald';
UPDATE {$NAMESPACE}_differential.differential_transaction
SET authorPHID = 'PHID-APPS-PhabricatorHarbormasterApplication'
WHERE authorPHID = 'PHID-APPS-PhabricatorApplicationHarbormaster';