1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-14 02:42:40 +01:00
phorge-phorge/resources/sql/autopatches/20160825.ponder.sql
Josh Cox 9a52492f1b 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
2016-08-25 15:49:42 -04:00

7 lines
174 B
SQL

/* 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);