To follow database coding convention and avoid clashes in RDBMS engines where indexes are global Bug: T270033 Change-Id: I17028bba489d04b01d22c39dc8935a4f0f771c7e
12 lines
No EOL
713 B
SQL
12 lines
No EOL
713 B
SQL
-- 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); |