Page MenuHomePhabricator

Convert SecurePoll to AbstractSchema
Open, MediumPublic3 Estimated Story Points

Description

In support of T191231: RFC: Abstract schemas and schema changes, SecurePoll should be migrated to using Abstract Schema

Related task T261912: Convert WMF Deployed Extensions to Abstract Schema

Event Timeline

Niharika triaged this task as Medium priority.Jan 12 2021, 7:12 PM
Niharika moved this task from Untriaged to Cards ready to be discussed on the Anti-Harassment board.

Change 657196 had a related patch set uploaded (by STran; owner: STran):
[mediawiki/extensions/SecurePoll@master] [WIP] Use abstract schemas for SecurePoll tables

https://gerrit.wikimedia.org/r/657196

The following tables need to be migrated:

  • securepoll_entity
  • securepoll_msgs
  • securepoll_properties
  • securepoll_elections
  • securepoll_questions
  • securepoll_options
  • securepoll_voters
  • securepoll_votes
  • securepoll_strike
  • spstrike_vote
  • securepoll_lists
  • securepoll_cookie_match

Since this ticket encapsulates all of the tables, I split the work up into smaller tickets. Some of these are easy (T272965: Migrate SecurePoll tables that have parity to AbstractSchema) and some will require extra schema updates (T272966: Migrate SecurePoll tables that need schema changes to AbstractSchema).

Change 667290 had a related patch set uploaded (by Tchanders; owner: STran):
[mediawiki/extensions/SecurePoll@master] Use abstract schema for some SecurePoll tables

https://gerrit.wikimedia.org/r/667290

Change 667290 merged by jenkins-bot:
[mediawiki/extensions/SecurePoll@master] Use abstract schema for some SecurePoll tables

https://gerrit.wikimedia.org/r/667290

Change 696601 had a related patch set uploaded (by Jforrester; author: Jforrester):

[mediawiki/extensions/WikimediaMaintenance@master] Follow-up c391765899bf: Update path to SecurePoll SQL file

https://gerrit.wikimedia.org/r/696601

Change 696601 merged by jenkins-bot:

[mediawiki/extensions/WikimediaMaintenance@master] Follow-up c391765899bf: Add path to new primary SecurePoll SQL file

https://gerrit.wikimedia.org/r/696601