Ref T6920, This removes the PonderVotableInterface from PonderQuestion and assocaited code. Also... never used?
Details
Details
- Reviewers
epriestley - Maniphest Tasks
- T6920: Move Voting in Ponder to "Helpfuls"
- Commits
- Restricted Diffusion Commit
rP7e7e38e9c009: Remove VotableInterface from PonderQuestion
Visit Ponder, See List, New Question, Add Answer.
Diff Detail
Diff Detail
- Repository
- rP Phabricator
- Branch
- ponder-question-vote
- Lint
Lint Passed - Unit
Tests Passed - Build Status
Buildable 7545 Build 8130: [Placeholder Plan] Wait for 30 Seconds Build 8129: arc lint + arc unit
Event Timeline
Comment Actions
You can just write a .sql file which does this, I think:
/* 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);
That should get rid of everything without requiring a messier/more complicated migration (that also gets rid of the answer votes).
However, it might be good to wait a month or so to do this, just in case someone really wants their vote data. Keeping the edges around for a bit won't hurt anything.
Comment Actions
I think I'm just going to convert the +1 answer votes as 'helpfuls' and drop everything else, but good idea on keeping the data for now.