手册:$wgExtNewIndexes
Appearance
此功能已在版本1.36.0被完全移除。 |
| 扩展字段: $wgExtNewIndexes | |
|---|---|
| Extension defined indexes to be added to existing tables |
|
| 引进版本: | 1.11.0(r23759) |
| 移除版本: | 1.36.0(Gerrit change 554602; git #95649c39) |
| 允许的值: | (参见下方) |
| 默认值: | [] |
| 其他设置: 按首字母排序 | 按功能排序 | |
详情
被用于添加已存表的索引。 For PostgreSQL, you can add the index clause instead of a filename.
用法
$wgExtNewIndexes[] = array( 'tablename', 'indexname', 'schema_file.sql' );
## Postgres only:
$wgExtNewIndexes[] = array( 'tablename', 'indexname', '(columns)' );