Clean up ar_usertext_timestamp index mess
authorBrad Jorsch <bjorsch@wikimedia.org>
Wed, 18 Sep 2019 15:32:13 +0000 (11:32 -0400)
committerBrad Jorsch <bjorsch@wikimedia.org>
Wed, 18 Sep 2019 15:49:02 +0000 (11:49 -0400)
commitf45441aaa7dd98b6106a36882d165a12ac9d682e
tree3625dfa898f2903244f942ba411804c0dd9ea7a5
parent6cf4d8f64e74dd68823fc3de815e25dece7f1da5
Clean up ar_usertext_timestamp index mess

See T233221 for the sordid history. The short version is that it might
exist as `ar_usertext_timestamp`, `usertext_timestamp`, or both on
MySQL, so dropping it for the actor migration needs to drop both names
if they exist.

We can also remove the now-obsolete aliasing from MWLBFactory.

Bug: T233221
Bug: T104756
Bug: T229712
Change-Id: I429e7ade2c86a2514aafe947012f096b03aa67ce
includes/db/MWLBFactory.php
includes/installer/MysqlUpdater.php
maintenance/archives/patch-drop-archive-ar_usertext_timestamp.sql [new file with mode: 0644]
maintenance/archives/patch-drop-archive-usertext_timestamp.sql [new file with mode: 0644]
maintenance/archives/patch-drop-user-fields.sql