| 1 |
-- This file is automatically generated using maintenance/generateSchemaChangeSql.php. |
| 2 |
-- Source: maintenance/abstractSchemaChanges/patch-change_tag-rename-indexes.json |
| 3 |
-- Do not modify this file directly. |
| 4 |
-- See https://www.mediawiki.org/wiki/Manual:Schema_changes |
| 5 |
DROP INDEX change_tag_rc_tag_id ON /*_*/change_tag; |
| 6 |
CREATE UNIQUE INDEX ct_rc_tag_id ON /*_*/change_tag (ct_rc_id, ct_tag_id); |
| 7 |
DROP INDEX change_tag_log_tag_id ON /*_*/change_tag; |
| 8 |
CREATE UNIQUE INDEX ct_log_tag_id ON /*_*/change_tag (ct_log_id, ct_tag_id); |
| 9 |
DROP INDEX change_tag_rev_tag_id ON /*_*/change_tag; |
| 10 |
CREATE UNIQUE INDEX ct_rev_tag_id ON /*_*/change_tag (ct_rev_id, ct_tag_id); |
| 11 |
DROP INDEX change_tag_tag_id_id ON /*_*/change_tag; |
| 12 |
CREATE INDEX ct_tag_id_id ON /*_*/change_tag ( ct_tag_id, ct_rc_id, ct_rev_id, ct_log_id ); |