wiki.techinc.nl/maintenance/archives/patch-drop-archive-ar_usertext_timestamp.sql

8 lines
384 B
MySQL
Raw Normal View History

-- T233221: The index on `archive` variously known as `ar_usertext_timestamp`
-- and `usertext_timestamp` has a long and sordid history. We're dropping the
-- `ar_user_text` column entirely now (see patch-drop-archive-user-fields.sql), but
-- this index needs special care thanks to said history.
-- Do not use the /*i*/ thing here!
DROP INDEX ar_usertext_timestamp ON /*_*/archive;