Jump to content

Manual:Config table/fi

From mediawiki.org
This page is a translated version of the page Manual:Config table and the translation is 17% complete.
Manual:Sisällöt 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

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    |       |
+----------+----------------+------+-----+---------+-------+

Indeksit

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      |         |               |
+--------+------------+---------------+--------------+-------------+-----------+-------------+----------+--------+------+------------+---------+---------------+