Use uniform prefix with the column names Bug: T270033 Change-Id: I771ffc67a1363d8877c57dce1d8b2acdca8fe5bb
20 lines
No EOL
1 KiB
SQL
20 lines
No EOL
1 KiB
SQL
-- This file is automatically generated using maintenance/generateSchemaChangeSql.php.
|
|
-- Source: maintenance/abstractSchemaChanges/patch-sites-rename-indexes.json
|
|
-- Do not modify this file directly.
|
|
-- See https://www.mediawiki.org/wiki/Manual:Schema_changes
|
|
DROP INDEX sites_global_key ON /*_*/sites;
|
|
CREATE UNIQUE INDEX site_global_key ON /*_*/sites (site_global_key);
|
|
DROP INDEX sites_type ON /*_*/sites;
|
|
CREATE INDEX site_type ON /*_*/sites (site_type);
|
|
DROP INDEX sites_group ON /*_*/sites;
|
|
CREATE INDEX site_group ON /*_*/sites (site_group);
|
|
DROP INDEX sites_source ON /*_*/sites;
|
|
CREATE INDEX site_source ON /*_*/sites (site_source);
|
|
DROP INDEX sites_language ON /*_*/sites;
|
|
CREATE INDEX site_language ON /*_*/sites (site_language);
|
|
DROP INDEX sites_protocol ON /*_*/sites;
|
|
CREATE INDEX site_protocol ON /*_*/sites (site_protocol);
|
|
DROP INDEX sites_domain ON /*_*/sites;
|
|
CREATE INDEX site_domain ON /*_*/sites (site_domain);
|
|
DROP INDEX sites_forward ON /*_*/sites;
|
|
CREATE INDEX site_forward ON /*_*/sites (site_forward); |