| This feature was removed completely in version 1.36.0. |
| Extension fields: $wgExtNewIndexes | |
|---|---|
| Extension defined indexes to be added to existing tables |
|
| Introduced in version: | 1.11.0 (r23759) |
| Removed in version: | 1.36.0 (Gerrit change 554602; git #95649c39) |
| Allowed values: | (see below) |
| Default value: | [] |
| Other settings: Alphabetical | By function | |
Details
Used to add indexes to existing tables. For PostgreSQL, you can add the index clause instead of a filename.
Usage
$wgExtNewIndexes[] = array( 'tablename', 'indexname', 'schema_file.sql' );
## <translate nowrap><!--T:8--> Postgres only:</translate>
$wgExtNewIndexes[] = array( 'tablename', 'indexname', '(columns)' );
See also
- $wgExtNewFields
- $wgExtNewTables
This article is issued from Mediawiki. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.