wiki.techinc.nl/maintenance/archives/patch-archive-user-index.sql

5 lines
205 B
MySQL
Raw Normal View History

2007-07-11 07:55:24 +00:00
-- Adds a user,timestamp index to the archive table
-- Used for browsing deleted contributions and renames
ALTER TABLE /*$wgDBprefix*/archive
2007-07-11 07:55:24 +00:00
ADD INDEX usertext_timestamp ( ar_user_text , ar_timestamp );