--
-- Create the new redirect table.
-- For each redirect, this table contains exactly one row defining its target
---
+--
CREATE TABLE /*$wgDBprefix*/redirect (
-- Key to the page_id of the redirect page
rd_from int unsigned NOT NULL default '0',
-- and deletions may refer to different page records as time
-- goes by.
rd_namespace int NOT NULL default '0',
- rd_title varbinary(255) NOT NULL default '',
+ rd_title varchar(255) binary NOT NULL default '',
PRIMARY KEY rd_from (rd_from),
KEY rd_ns_title (rd_namespace,rd_title,rd_from)