Manual:$wgExtPGAlteredFields

From MediaWiki.org

Jump to: navigation, search
Extensions: $wgExtPGAlteredFields
Extension defined columns to be altered in tables
Introduced in version: 1.15.0
Removed in version: still in use
Allowed values: See details
Default value: array()

Other settings: Alphabetical | By Function


[edit] Details

Used to alter the data type of a column in an existing table. Used for Postgres tables only. the final rule is optional and only needed if Postgres cannot convert the types automatically.

[edit] Usage

$wgExtPGAlteredFields[] = array( 'tablename', 'column_name', 'column_type', 'conversion_rule' );