From 8f416baead93a48e5799e44b8bd2e2c4859f4e04 Mon Sep 17 00:00:00 2001
From: Pierre Schmitz <pierre@archlinux.de>
Date: Fri, 14 Sep 2007 13:18:58 +0200
Subject: auf Version 1.11 aktualisiert; Login-Bug behoben

---
 maintenance/archives/patch-archive-user-index.sql | 4 ++++
 1 file changed, 4 insertions(+)
 create mode 100644 maintenance/archives/patch-archive-user-index.sql

(limited to 'maintenance/archives/patch-archive-user-index.sql')

diff --git a/maintenance/archives/patch-archive-user-index.sql b/maintenance/archives/patch-archive-user-index.sql
new file mode 100644
index 00000000..62baa2dd
--- /dev/null
+++ b/maintenance/archives/patch-archive-user-index.sql
@@ -0,0 +1,4 @@
+-- Adds a user,timestamp index to the archive table
+-- Used for browsing deleted contributions and renames
+ALTER TABLE /*$wgDBprefix*/archive 
+	ADD INDEX usertext_timestamp ( ar_user_text , ar_timestamp );
-- 
cgit v1.2.3-54-g00ecf

