wiki.techinc.nl/maintenance/archives/patch-oldimage-user-index.sql
umherirrender e256c69f9a Remove a bunch of trailing spaces and unneeded newlines
Change-Id: If9fb04f64389b9b40c13f3372ad4792c2e14def0
2012-10-20 13:35:38 +02:00

8 lines
187 B
SQL

--
-- 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);