Manual:$wgExtNewIndexes

From MediaWiki.org
Jump to: navigation, search
Extensions: $wgExtNewIndexes
Extension defined indexes to be added to existing tables
Introduced in version: 1.11.0 (r23759)
Removed in version: still in use
Allowed values: See details
Default value: array()

Other settings: Alphabetical | By Function


[edit] Details

Used to add indexes to existing tables. For Postgres, you can add the index clause instead of a file name.

[edit] Usage

$wgExtNewIndexes[] = array( 'tablename', 'indexname', 'schema_file.sql' );
 
## Postgres only:
$wgExtNewIndexes[] = array( 'tablename', 'indexname', '(columns)' );

[edit] See also

Language: English  • 日本語
Personal tools
Namespaces
Variants
Actions
Site
Support
Download
Development
Communication
Print/export
Toolbox