wiki.techinc.nl/maintenance/archives/patch-logging-rename-indexes.sql

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

12 lines
713 B
MySQL
Raw Normal View History

-- This file is automatically generated using maintenance/generateSchemaChangeSql.php.
-- Source: maintenance/abstractSchemaChanges/patch-logging-rename-indexes.json
-- Do not modify this file directly.
-- See https://www.mediawiki.org/wiki/Manual:Schema_changes
DROP INDEX type_time ON /*_*/logging;
CREATE INDEX log_type_time ON /*_*/logging (log_type, log_timestamp);
DROP INDEX actor_time ON /*_*/logging;
CREATE INDEX log_actor_time ON /*_*/logging (log_actor, log_timestamp);
DROP INDEX page_time ON /*_*/logging;
CREATE INDEX log_page_time ON /*_*/logging ( log_namespace, log_title, log_timestamp );
DROP INDEX times ON /*_*/logging;
CREATE INDEX log_times ON /*_*/logging (log_timestamp);