Manual:$wgExtPGAlteredFields

From MediaWiki.org
Jump to navigation Jump to search

Other languages:
English • ‎magyar • ‎polski • ‎日本語
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 below
Default value:[]

Details[edit]

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.

Usage[edit]

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