Manual:$wgExtNewIndexes/pl

From mediawiki.org
This page is a translated version of the page Manual:$wgExtNewIndexes and the translation is 22% complete.
Extension fields: $wgExtNewIndexes
Extension defined indexes to be added to existing tables
Wprowadzono w wersji:1.11.0 (r23759)
Usunięto w wersji:1.36.0 (Gerrit change 554602; git #95649c39)
Dozwolone wartości:(patrz poniżej)
Domyślna wartość:[]

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)' );

Zobacz też