Page MenuHomePhabricator

Drop free-text event country from the database schema
Closed, ResolvedPublic

Description

It has been replaced by country codes and migrated as part of T397476. Now that the 1.45 release has been cut, adding the migration script etc, we can clean up the old schema.

Acceptance criteria

  • The cea_country column is dropped from the database schema and the code no longer references it
  • The cea_country_code column is made not nullable
  • The schema changes are applied in production (T409101)

Out of scope: code cleanup (will be done in another task).

Event Timeline

Restricted Application added a subscriber: Aklapper. ยท View Herald TranscriptOct 31 2025, 4:59 PM

Change #1200390 had a related patch set uploaded (by Daimona Eaytoy; author: Daimona Eaytoy):

[mediawiki/extensions/CampaignEvents@master] Clean up database schema for event country

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

Change #1200390 merged by jenkins-bot:

[mediawiki/extensions/CampaignEvents@master] Clean up database schema for event country

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

vaughnwalters subscribed.

โœ… The cea_country column is dropped from the database schema and the code no longer references it
โœ… The cea_country_code column is made not nullable

Screenshot 2025-11-17 at 6.50.38โ€ฏPM.png (1,348ร—264 px, 61 KB)

โœ… The schema changes are applied in production (T409101)

AC met, sending to product sign off