1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-15 19:32:40 +01:00
phorge-phorge/resources/sql/autopatches/20160119.project.1.silence.sql

9 lines
349 B
MySQL
Raw Normal View History

/* PhabricatorObjectHasUnsubscriberEdgeType::EDGECONST = 23 */
/* PhabricatorProjectSilencedEdgeType::EDGECONST = 61 */
/* This is converting existing unsubscribes into disabled mail. */
INSERT IGNORE INTO {$NAMESPACE}_project.edge (src, type, dst, dateCreated)
SELECT src, 61, dst, dateCreated FROM {$NAMESPACE}_project.edge
WHERE type = 23;