1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-09 16:32:39 +01:00

Added autopatch to remove ponder vote data

Summary: Fixes T9117. Adds a migration to remove ponder vote data.

Test Plan: I added a bunch of lines to phabricator_user.edge with type 18 and they were successfully removed by this patch

Reviewers: #blessed_reviewers, epriestley

Reviewed By: #blessed_reviewers, epriestley

Subscribers: epriestley, yelirekim

Maniphest Tasks: T9117

Differential Revision: https://secure.phabricator.com/D16452
This commit is contained in:
Josh Cox 2016-08-25 14:48:00 -04:00
parent 9d9a47e9cf
commit 9a52492f1b

View file

@ -0,0 +1,7 @@
/* Removes Ponder vote data. */
DELETE FROM {$NAMESPACE}_ponder.edge
WHERE type IN (17, 18, 19, 20);
DELETE FROM {$NAMESPACE}_user.edge
WHERE type IN (17, 18, 19, 20);