Jump to content

Příručka:Databázová tabulka validate

From mediawiki.org
This page is a translated version of the page Manual:Validate table and the translation is 100% complete.
Manuál:Obsah MediaWiki schéma databáze Tabulka validate
Verze MediaWiki:
1.4 – 1.6

Tabulka validate se ve verzi MediaWiki 1.8 nepoužívá a lze ji bezpečně smazat.[1]

Byla součástí od té doby archivované Extension:Review , ale žádný základní software ji nepotřebuje.

Přehled změn ve schématu tabulky

Verze MediaWiki:
1.5 – 1.6

DESCRIBE validate;

+--------------+------------------+------+-----+---------+-------+
| Field        | Type             | Null | Key | Default | Extra |
+--------------+------------------+------+-----+---------+-------+
| val_user     | int(11)          | NO   | MUL | 0       |       |
| val_page     | int(11) unsigned | NO   |     | 0       |       |
| val_revision | int(11) unsigned | NO   |     | 0       |       |
| val_type     | int(11) unsigned | NO   |     | 0       |       |
| val_value    | int(11)          | YES  |     | 0       |       |
| val_comment  | varchar(255)     | NO   |     |         |       |
| val_ip       | varchar(20)      | NO   |     |         |       |
+--------------+------------------+------+-----+---------+-------+
Verze MediaWiki:
1.4

DESCRIBE validate;

+---------------+------------------+------+-----+---------+-------+
| Field         | Type             | Null | Key | Default | Extra |
+---------------+------------------+------+-----+---------+-------+
| val_user      | int(11)          | NO   | MUL | 0       |       |
| val_title     | varchar(255)     | NO   |     |         |       |
| val_timestamp | varchar(14)      | NO   |     |         |       |
| val_type      | int(10) unsigned | NO   |     | 0       |       |
| val_value     | int(11)          | YES  |     | 0       |       |
| val_comment   | varchar(255)     | NO   |     |         |       |
+---------------+------------------+------+-----+---------+-------+

Indexy

Verze MediaWiki:
1.5 – 1.6

SHOW INDEX IN validate;

+----------+------------+----------+--------------+--------------+-----------+-------------+----------+--------+------+------------+---------+---------------+
| Table    | Non_unique | Key_name | Seq_in_index | Column_name  | Collation | Cardinality | Sub_part | Packed | Null | Index_type | Comment | Index_comment |
+----------+------------+----------+--------------+--------------+-----------+-------------+----------+--------+------+------------+---------+---------------+
| validate |          1 | val_user |            1 | val_user     | A         |           0 |     NULL | NULL   |      | BTREE      |         |               |
| validate |          1 | val_user |            2 | val_revision | A         |           0 |     NULL | NULL   |      | BTREE      |         |               |
+----------+------------+----------+--------------+--------------+-----------+-------------+----------+--------+------+------------+---------+---------------+

Poznámky pod čarou