手册:$wgExtPGAlteredFields
Appearance
此功能已在版本1.36.0被完全移除。 |
| 扩展字段: $wgExtPGAlteredFields | |
|---|---|
| Extension defined columns to be altered in tables |
|
| 引进版本: | 1.15.0 |
| 移除版本: | 1.36.0 (Gerrit change 554602; git #95649c39) |
| 允许的值: | 参见下方 |
| 默认值: | [] |
| 其他设置: 按首字母排序 | 按功能排序 | |
细节
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' );