summaryrefslogtreecommitdiff
path: root/maintenance/archives/patch-image-user-index.sql
blob: db56b221f85070bd57f978dadccfca107d7a1d5b (plain)
1
2
3
4
5
6
7
8
-- 
-- image-user-index.sql
-- 
-- Add user/timestamp index to current image versions
-- 

ALTER TABLE /*$wgDBprefix*/image
   ADD INDEX img_usertext_timestamp (img_user_text,img_timestamp);