I've made a PR - FriendsOfFlarum/polls73.
It's in draft state because the change in associating a poll with a post instead of a discussion means that existing polls need to be pointed at their discussion's first post. However, if this post cannot be found, the poll is deleted since (in theory) it wouldn't have been shown at all anyways already, before the update with this change.
Still, this is a destructive operation, and so I'd prefer a lot more testing be done to it. If anyone has forum data they can test this migration on (NOT IN PRODUCTION, and have backups of this data -- mainly polls
and group_permission
tables - before testing!) and compare the amount of polls before & after, and whether the ones deleted (if any) made sense to, that'd be greatly appreciated. More info over at the PR.
Alongside that, once that's all good, I'll also be implementing other changes that break any kind of backwards compatibility, since this change already does that. It's plan on combining the removal of deprecations and other breaking features in a v2.0.0.
Anyways, enough tech talk - have some screenshots