1 -- Rename the primary unique index from PRIMARY to ls_field_val
2 -- This is for MySQL only and is necessary only for databases which were updated
3 -- between MW 1.16 development revisions r50567 and r51465.
4 ALTER TABLE /*_*/log_search
6 ADD UNIQUE INDEX ls_field_val (ls_field,ls_value,ls_log_id);