summaryrefslogtreecommitdiff
path: root/maintenance/archives/patch-rc_ip.sql
diff options
context:
space:
mode:
Diffstat (limited to 'maintenance/archives/patch-rc_ip.sql')
-rw-r--r--maintenance/archives/patch-rc_ip.sql7
1 files changed, 7 insertions, 0 deletions
diff --git a/maintenance/archives/patch-rc_ip.sql b/maintenance/archives/patch-rc_ip.sql
new file mode 100644
index 00000000..a68a22cb
--- /dev/null
+++ b/maintenance/archives/patch-rc_ip.sql
@@ -0,0 +1,7 @@
+-- Adding the rc_ip field for logging of IP addresses in recentchanges
+
+ALTER TABLE /*$wgDBprefix*/recentchanges
+ ADD rc_ip char(15) NOT NULL default '',
+ ADD INDEX rc_ip (rc_ip);
+
+