Manual:$wgExtPGAlteredFields/zh
From Linux Web Expert
File:OOjs UI icon alert-destructive.svg | <translate> This feature was removed completely in version <tvar name=ver>1.36.0</tvar>.</translate> |
<translate> Extension fields</translate>: $wgExtPGAlteredFields | |
---|---|
Extension defined columns to be altered in tables |
|
<translate> Introduced in version:</translate> | 1.15.0 |
<translate> Removed in version:</translate> | 1.36.0 (Gerrit change 554602; git #95649c39) |
<translate> Allowed values:</translate> | 参见下方 |
<translate> Default value:</translate> | [] |
<translate> Other settings:</translate> <translate> Alphabetical</translate> | <translate> By function</translate> |
细节
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.
用法
$wgExtPGAlteredFields[] = array( 'tablename', 'column_name', 'column_type', 'conversion_rule' );