Tweak r49454: remove duplication
[lhc/web/wiklou.git] / maintenance / archives / patch-log_search.sql
1 CREATE TABLE /*_*/log_search (
2 -- The type of ID (rev ID, log ID, timestamp, other)
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 );
9 CREATE INDEX /*i*/log_field_value ON /*_*/log_search (ls_field,ls_value,ls_log_id);