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

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