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:
parent
9d9a47e9cf
commit
9a52492f1b
1 changed files with 7 additions and 0 deletions
7
resources/sql/autopatches/20160825.ponder.sql
Normal file
7
resources/sql/autopatches/20160825.ponder.sql
Normal 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);
|
Loading…
Reference in a new issue