| 1 |
-- This file is automatically generated using maintenance/generateSchemaChangeSql.php. |
| 2 |
-- Source: maintenance/abstractSchemaChanges/patch-sites-rename-indexes.json |
| 3 |
-- Do not modify this file directly. |
| 4 |
-- See https://www.mediawiki.org/wiki/Manual:Schema_changes |
| 5 |
DROP INDEX sites_global_key ON /*_*/sites; |
| 6 |
CREATE UNIQUE INDEX site_global_key ON /*_*/sites (site_global_key); |
| 7 |
DROP INDEX sites_type ON /*_*/sites; |
| 8 |
CREATE INDEX site_type ON /*_*/sites (site_type); |
| 9 |
DROP INDEX sites_group ON /*_*/sites; |
| 10 |
CREATE INDEX site_group ON /*_*/sites (site_group); |
| 11 |
DROP INDEX sites_source ON /*_*/sites; |
| 12 |
CREATE INDEX site_source ON /*_*/sites (site_source); |
| 13 |
DROP INDEX sites_language ON /*_*/sites; |
| 14 |
CREATE INDEX site_language ON /*_*/sites (site_language); |
| 15 |
DROP INDEX sites_protocol ON /*_*/sites; |
| 16 |
CREATE INDEX site_protocol ON /*_*/sites (site_protocol); |
| 17 |
DROP INDEX sites_domain ON /*_*/sites; |
| 18 |
CREATE INDEX site_domain ON /*_*/sites (site_domain); |
| 19 |
DROP INDEX sites_forward ON /*_*/sites; |
| 20 |
CREATE INDEX site_forward ON /*_*/sites (site_forward); |