1 ALTER TABLE /*$wgDBprefix*/logging ADD COLUMN log_user_text TEXT NOT NULL default '';
2 ALTER TABLE /*$wgDBprefix*/logging ADD COLUMN log_page INTEGER NULL;
4 CREATE INDEX /*i*/log_user_type_time ON /*_*/logging (log_user, log_type, log_timestamp);
5 CREATE INDEX /*i*/log_page_id_time ON /*_*/logging (log_page,log_timestamp);