summaryrefslogtreecommitdiff
path: root/maintenance/archives/patch-archive-user-index.sql
blob: 997b4a97632205e9e41762d25e3ad47eed344592 (plain)
1
2
3
4
-- Adds a user,timestamp index to the archive table
-- Used for browsing deleted contributions and renames
ALTER TABLE /*$wgDBprefix*/archive
	ADD INDEX usertext_timestamp ( ar_user_text , ar_timestamp );