StatusTest.php: Make lines shorter to make phpcs happier
[mediawiki.git] / maintenance / archives / patch-ipb_by_text.sql
blobe809d102fa446d6e5e49d46ab2697a864e35ffe3
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;