Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/phabricator
Path: blob/master/resources/sql/autopatches/20140211.dx.3.migsubscriptions.sql
12250 views
1
/* For `grep`: */
2
3
/* PhabricatorObjectHasSubscriberEdgeType::EDGECONST = 21 */
4
5
INSERT IGNORE INTO {$NAMESPACE}_differential.edge (src, type, dst, seq)
6
SELECT rev.phid, 21, rel.objectPHID, rel.sequence
7
FROM {$NAMESPACE}_differential.differential_revision rev
8
JOIN {$NAMESPACE}_differential.differential_relationship rel
9
ON rev.id = rel.revisionID
10
WHERE relation = 'subd';
11
12