Jump to content

Manual:Updatelog table/ru

From mediawiki.org
This page is a translated version of the page Manual:Updatelog table and the translation is 22% complete.
Manual:Содержание MediaWiki database layout updatelog таблица
Версия MediaWiki:
1.13

В таблице updatelog регистрации обновлений MediaWiki, одна строка текстового ключа для каждого исполняемого сценария обновления.

Поля

ul_key

Pointer to a maintenance script, which was executed during a MediaWiki update. For update.php, entries are formatted like updatelist-1.22.3-1393593680. The pointer to the maintenance script contains the MediaWiki version and a UNIX timestamp.

ul_value

Версия MediaWiki:
1.17

Serialized data of the logged action; not present for old entries (pre 1.17).

Schema summary

Версия MediaWiki:
1.17

DESCRIBE updatelog;

+----------+----------------+------+-----+---------+-------+
| Field    | Type           | Null | Key | Default | Extra |
+----------+----------------+------+-----+---------+-------+
| ul_key   | varbinary(255) | NO   | PRI | NULL    |       |
| ul_value | blob           | YES  |     | NULL    |       |
+----------+----------------+------+-----+---------+-------+
Версии MediaWiki:
1.13 – 1.16

DESCRIBE updatelog;

+--------+----------------+------+-----+---------+-------+
| Field  | Type           | Null | Key | Default | Extra |
+--------+----------------+------+-----+---------+-------+
| ul_key | varbinary(255) | NO   | PRI | NULL    |       |
+--------+----------------+------+-----+---------+-------+

Indexes

Версия MediaWiki:
1.13

SHOW INDEX IN updatelog;

+-----------+------------+----------+--------------+-------------+-----------+-------------+----------+--------+------+------------+---------+---------------+
| Table     | Non_unique | Key_name | Seq_in_index | Column_name | Collation | Cardinality | Sub_part | Packed | Null | Index_type | Comment | Index_comment |
+-----------+------------+----------+--------------+-------------+-----------+-------------+----------+--------+------+------------+---------+---------------+
| updatelog |          0 | PRIMARY  |            1 | ul_key      | A         |           0 |     NULL | NULL   |      | BTREE      |         |               |
+-----------+------------+----------+--------------+-------------+-----------+-------------+----------+--------+------+------------+---------+---------------+