summaryrefslogtreecommitdiff
path: root/www/wiki/maintenance/archives/patch-rc_ip.sql
diff options
context:
space:
mode:
Diffstat (limited to 'www/wiki/maintenance/archives/patch-rc_ip.sql')
-rw-r--r--www/wiki/maintenance/archives/patch-rc_ip.sql7
1 files changed, 7 insertions, 0 deletions
diff --git a/www/wiki/maintenance/archives/patch-rc_ip.sql b/www/wiki/maintenance/archives/patch-rc_ip.sql
new file mode 100644
index 00000000..4d93300f
--- /dev/null
+++ b/www/wiki/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 varbinary(40) NOT NULL default '',
+ ADD INDEX rc_ip (rc_ip);
+
+