Apply T312260 to wmf wikis
- ALTERs to run: https://gerrit.wikimedia.org/r/c/mediawiki/extensions/Translate/+/817873/2/sql/mysql/patch-translate_tmt-unique-to-pk.sql
- Where to run those changes: Active according to the config: advisorswiki, amwikimedia, bewikimedia, betawikiversity, brwikimedia, bdwikimedia, cawikimedia, collabwiki, commonswiki, testcommonswiki, foundationwiki, frwiktionary, gewikimedia, grwikimedia, hiwikimedia, idwikimedia, incubatorwiki, legalteamwiki, maiwikimedia, mediawikiwiki, metawiki, nowikimedia, otrs_wikiwiki, outreachwiki, plwikimedia, ruwikimedia, punjabiwikimedia, sourceswiki, specieswiki, sewikimedia, testwiki, uawikimedia, wbwikimedia, wikidata, wikimania2012wiki, wikimania2013wiki, wikimania2014wiki, wikimania2015wiki, wikimania2016wiki, wikimania2017wiki, wikimania2018wiki, wikimaniawiki
- 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
The table could be empty on wmf wikis (according to T289952#7317650)