1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-14 10:52:41 +01:00
phorge-phorge/resources/sql/autopatches/20140706.pedge.1.sql

11 lines
434 B
MySQL
Raw Normal View History

/* PhabricatorProjectObjectHasProjectEdgeType::EDGECONST = 41 */
/* PhabricatorProjectProjectHasObjectEdgeType::EDGECONST = 42 */
INSERT IGNORE INTO {$NAMESPACE}_maniphest.edge (src, type, dst)
SELECT taskPHID, 41, projectPHID
FROM {$NAMESPACE}_maniphest.maniphest_taskproject;
INSERT IGNORE INTO {$NAMESPACE}_project.edge (src, type, dst)
SELECT projectPHID, 42, taskPHID
FROM {$NAMESPACE}_maniphest.maniphest_taskproject;