Debian Codegraph @

maintenance/archives/patch-externallinks-el_to_path.sql

raw
1 -- This file is automatically generated using maintenance/generateSchemaChangeSql.php.
2 -- Source: maintenance/abstractSchemaChanges/patch-externallinks-el_to_path.json
3 -- Do not modify this file directly.
4 -- See https://www.mediawiki.org/wiki/Manual:Schema_changes
5 DROP INDEX el_from ON /*_*/externallinks;
6 ALTER TABLE /*_*/externallinks
7 ADD el_to_domain_index VARBINARY(255) DEFAULT '' NOT NULL,
8 ADD el_to_path BLOB DEFAULT NULL;
9 CREATE INDEX el_to_domain_index_to_path ON /*_*/externallinks ( el_to_domain_index, el_to_path(60) );
10 CREATE INDEX el_from ON /*_*/externallinks (el_from);