summaryrefslogtreecommitdiff
path: root/maintenance/archives/patch-image-user-index.sql
blob: a74d7bd5f3303bbd43baf52841272f3a22bf9ef9 (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);