1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-25 15:00:58 +01:00
phorge-phorge/resources/sql/autopatches/20141210.maniphestsubscribersmig.1.sql

10 lines
375 B
MySQL
Raw Normal View History

INSERT IGNORE INTO {$NAMESPACE}_maniphest.edge (src, type, dst)
SELECT taskPHID, 21, subscriberPHID
FROM {$NAMESPACE}_maniphest.maniphest_tasksubscriber
WHERE subscriberPHID != '';
INSERT IGNORE INTO {$NAMESPACE}_maniphest.edge (src, type, dst)
SELECT subscriberPHID, 22, taskPHID
FROM {$NAMESPACE}_maniphest.maniphest_tasksubscriber
WHERE subscriberPHID != '';