wiki.techinc.nl/maintenance/archives/patch-image-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
188 B
SQL

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