mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-30 09:20:58 +01:00
11 lines
393 B
MySQL
11 lines
393 B
MySQL
|
/* For `grep`: */
|
||
|
|
||
|
/* PhabricatorEdgeConfig::TYPE_OBJECT_HAS_SUBSCRIBER = 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';
|