]> scripts.mit.edu Git - autoinstalls/mediawiki.git/blob - maintenance/archives/patch-rename-ar_usertext_timestamp.sql
MediaWiki 1.30.2
[autoinstalls/mediawiki.git] / maintenance / archives / patch-rename-ar_usertext_timestamp.sql
1 -- Rename the archive.ar_usertext_timestamp index to usertext_timestamp.
2 -- This is for MySQL only and is only necessary on wikis freshly installed on
3 -- 1.28.0 when bug T154872 was present. The patch will probably be removed in
4 -- 1.29 since we plan on renaming the index properly to ar_usertext_timestamp.
5 ALTER TABLE /*$wgDBprefix*/archive
6         DROP INDEX ar_usertext_timestamp,
7         ADD INDEX usertext_timestamp (ar_user_text,ar_timestamp);