mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-10 17:02:41 +01:00
aa79539789
Summary: Ref T5245. This moves the actual storage over and stops reads and writes to the old table. Test Plan: - Verified tasks retained projects across the migration. - Added and removed projects from tasks. - Searched for: all, any, users' projects, not-in-projects, no-projects. Reviewers: chad, btrahan, joshuaspence Reviewed By: joshuaspence Subscribers: epriestley Maniphest Tasks: T5245 Differential Revision: https://secure.phabricator.com/D9850
10 lines
434 B
SQL
10 lines
434 B
SQL
/* 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;
|