mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-24 06:20:56 +01:00
7c2a7d0365
Summary: Modernize remaining edges to subclass `PhabricatorEdgeType`. Largely based on D11045. Test Plan: Browsed around and performed various actions include subscribing, unsubscribing and watching. Reviewers: #blessed_reviewers, epriestley Reviewed By: #blessed_reviewers, epriestley Subscribers: epriestley Differential Revision: https://secure.phabricator.com/D11116
10 lines
393 B
SQL
10 lines
393 B
SQL
/* For `grep`: */
|
|
|
|
/* PhabricatorObjectHasSubscriberEdgeType::EDGECONST = 21 */
|
|
|
|
INSERT IGNORE INTO {$NAMESPACE}_differential.edge (src, type, dst, seq)
|
|
SELECT rev.phid, 21, rel.objectPHID, rel.sequence
|
|
FROM {$NAMESPACE}_differential.differential_revision rev
|
|
JOIN {$NAMESPACE}_differential.differential_relationship rel
|
|
ON rev.id = rel.revisionID
|
|
WHERE relation = 'subd';
|