Tweaked r49468 - sqllite fix

This commit is contained in:
Aaron Schulz 2009-06-04 12:57:22 +00:00
parent cb0bbf8a65
commit 7aadbb783b
2 changed files with 4 additions and 4 deletions

View file

@ -4,7 +4,7 @@ CREATE TABLE /*_*/log_search (
-- The value of the ID
ls_value varchar(255) NOT NULL,
-- Key to log_id
ls_log_id int unsigned NOT NULL default 0,
PRIMARY KEY (ls_field,ls_value,ls_log_id)
ls_log_id int unsigned NOT NULL default 0
) /*$wgDBTableOptions*/;
CREATE UNIQUE INDEX /*i*/ls_field_val ON /*_*/log_search (ls_field,ls_value,ls_log_id);
CREATE INDEX /*i*/ls_log_id ON /*_*/log_search (ls_log_id);

View file

@ -1130,9 +1130,9 @@ CREATE TABLE /*_*/log_search (
-- The value of the ID
ls_value varchar(255) NOT NULL,
-- Key to log_id
ls_log_id int unsigned NOT NULL default 0,
PRIMARY KEY (ls_field,ls_value,ls_log_id)
ls_log_id int unsigned NOT NULL default 0
) /*$wgDBTableOptions*/;
CREATE UNIQUE INDEX /*i*/ls_field_val ON /*_*/log_search (ls_field,ls_value,ls_log_id);
CREATE INDEX /*i*/ls_log_id ON /*_*/log_search (ls_log_id);