1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-15 19:32:40 +01:00
phorge-phorge/resources/sql/autopatches/20140723.apprenamexaction.sql
Joshua Spence e0a7d47e0d 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
2014-07-23 23:49:22 +10:00

13 lines
719 B
SQL

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';