(bug 11451) Fix error in 1.2 -> 1.3 upgrade script, causing failure of upgrades from...
[mediawiki.git] / maintenance / archives / patch-log_search.sql
blob2c2cd0e1539da4e0ab2e400dccc1f7d92df27efd
1 CREATE TABLE /*_*/log_search (
2         -- The type of ID (rev ID, log ID, rev timestamp, username)
3         ls_field varbinary(32) NOT NULL,
4         -- The value of the ID
5         ls_value varchar(255) NOT NULL,
6         -- Key to log_id
7         ls_log_id int unsigned NOT NULL default 0,
8         PRIMARY KEY (ls_field,ls_value,ls_log_id)
9 );
10 CREATE INDEX /*i*/ls_log_id ON /*_*/log_search (ls_log_id);