summaryrefslogtreecommitdiff
path: root/maintenance/archives/patch-rc_user_text-index.sql
diff options
context:
space:
mode:
Diffstat (limited to 'maintenance/archives/patch-rc_user_text-index.sql')
-rw-r--r--maintenance/archives/patch-rc_user_text-index.sql7
1 files changed, 7 insertions, 0 deletions
diff --git a/maintenance/archives/patch-rc_user_text-index.sql b/maintenance/archives/patch-rc_user_text-index.sql
new file mode 100644
index 00000000..f6acc992
--- /dev/null
+++ b/maintenance/archives/patch-rc_user_text-index.sql
@@ -0,0 +1,7 @@
+-- Add an index to recentchanges on rc_user_text
+--
+-- Added 2006-11-08
+--
+
+ ALTER TABLE /*$wgDBprefix*/recentchanges
+ADD INDEX rc_user_text(rc_user_text, rc_timestamp); \ No newline at end of file