Jump to content

Manual:$wgExtPGAlteredFields

From mediawiki.org
Extension fields: $wgExtPGAlteredFields
Extension defined columns to be altered in tables
Introduced in version:1.15.0
Removed in version:1.36.0 (Gerrit change 554602; git #95649c39)
Allowed values:See below
Default value:[]

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.

Usage

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