Merge "resourceloader: Add type hints for type ResourceLoaderContext"
[lhc/web/wiklou.git] / maintenance / archives / patch-ipb_by_text.sql
index 246248a..e809d10 100644 (file)
@@ -2,9 +2,9 @@
 -- Required for crosswiki blocks.
 
 ALTER TABLE /*$wgDBprefix*/ipblocks
-       ADD ipb_by_text varbinary(255) NOT NULL default '';
+       ADD ipb_by_text varchar(255) binary NOT NULL default '';
 
-UPDATE /*$wgDBprefix*/ipblocks 
+UPDATE /*$wgDBprefix*/ipblocks
        JOIN /*$wgDBprefix*/user ON ipb_by = user_id
        SET ipb_by_text = user_name
        WHERE ipb_by != 0;
\ No newline at end of file