2 -- patch-categorylinks-better-collation2.sql
4 -- Bugs 164, 1211, 23682. This patch exists for trunk users who already
5 -- applied the first patch in its original version. The first patch was
6 -- updated to incorporate the changes as well, so as not to do two alters on a
7 -- large table unnecessarily for people upgrading from 1.16, so this will be
8 -- skipped if unneeded.
9 ALTER TABLE /*$wgDBprefix*/categorylinks
10 CHANGE COLUMN cl_sortkey cl_sortkey varbinary(230) NOT NULL default '',
11 CHANGE COLUMN cl_collation cl_collation varbinary(32) NOT NULL default '';
12 INSERT IGNORE INTO /*$wgDBprefix*/updatelog (ul_key) VALUES ('cl_fields_update');