(bug 22750) <logitem> is at wrong location in export.xsd
[mediawiki.git] / maintenance / archives / patch-ipb_by_text.sql
blobc0b620d3383397aa60d791100423526de24b4539
1 -- Adding colomn with username of blocker and sets it.
2 -- Required for crosswiki blocks.
4 ALTER TABLE /*$wgDBprefix*/ipblocks
5         ADD ipb_by_text varchar(255) binary NOT NULL default '';
7 UPDATE /*$wgDBprefix*/ipblocks 
8         JOIN /*$wgDBprefix*/user ON ipb_by = user_id
9         SET ipb_by_text = user_name
10         WHERE ipb_by != 0;