Jump to content

Manual:config table

From mediawiki.org
Manual:Contents MediaWiki database layout config table
MediaWiki version:
1.20

The config table holds configuration changes.

This was introduced in rev:88270 and reverted in rev:111006. It was never actually used.

Fields

[edit]
cf_name
(Describe me!)
cf_value
(Describe me!)
MediaWiki version:
1.20
mysql> DESCRIBE config;
+----------+----------------+------+-----+---------+-------+
| Field    | Type           | Null | Key | Default | Extra |
+----------+----------------+------+-----+---------+-------+
| cf_name  | varbinary(255) | NO   | PRI | NULL    |       |
| cf_value | blob           | NO   |     | NULL    |       |
+----------+----------------+------+-----+---------+-------+

Indexes

[edit]
MediaWiki version:
1.20

SHOW INDEX IN config;

+--------+------------+---------------+--------------+-------------+-----------+-------------+----------+--------+------+------------+---------+---------------+
| Table  | Non_unique | Key_name      | Seq_in_index | Column_name | Collation | Cardinality | Sub_part | Packed | Null | Index_type | Comment | Index_comment |
+--------+------------+---------------+--------------+-------------+-----------+-------------+----------+--------+------+------------+---------+---------------+
| config |          0 | PRIMARY       |            1 | cf_name     | A         |           0 |     NULL | NULL   |      | BTREE      |         |               |
| config |          1 | cf_name_value |            1 | cf_name     | A         |           0 |     NULL | NULL   |      | BTREE      |         |               |
| config |          1 | cf_name_value |            2 | cf_value    | A         |           0 |      255 | NULL   |      | BTREE      |         |               |
+--------+------------+---------------+--------------+-------------+-----------+-------------+----------+--------+------+------------+---------+---------------+