Apply T312276 to wmf wikis
- ALTERs to run: https://gerrit.wikimedia.org/r/c/mediawiki/extensions/CreditsSource/+/817885/2/schema/mysql/patch-swsource_links-unique-to-pk.sql
- Where to run those changes: wikivoyage.dblist
- When to run those changes: any time
- If the schema change is backwards compatible: Yes
- If the schema change has been tested already on some of the test/beta wikis: beta already running with the new schema
- if the data should be made available on the labs replicas and/or dumps: no change of the existing rules
Due to a bug in the schema change generator (T314138) the DROP + ALTER should be rewritten to be atomic:
alter table swsource_links drop key swsl_work_source_unique, ADD PRIMARY KEY (swsl_workid, swsl_sourceid);
s3:
bnwikivoyage dewikivoyage elwikivoyage eswikivoyage fawikivoyage fiwikivoyage frwikivoyage hewikivoyage hiwikivoyage itwikivoyage nlwikivoyage plwikivoyage pswikivoyage ptwikivoyage rowikivoyage ruwikivoyage svwikivoyage ukwikivoyage viwikivoyage zhwikivoyage
s5:
enwikivoyage eowikivoyage jawikivoyage shnwikivoyage trwikivoyage