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

ALTER TABLE /*$wgDBprefix*/oldimage
   ADD INDEX oi_usertext_timestamp (oi_user_text,oi_timestamp);