Manual:$wgExtNewIndexes
Appearance
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' );
## Postgres only:
$wgExtNewIndexes[] = array( 'tablename', 'indexname', '(columns)' );