Manual:updatelog テーブル

From mediawiki.org
This page is a translated version of the page Manual:Updatelog table and the translation is 78% complete.
Manual:コンテンツ MediaWiki のデータベース レイアウト updatelog テーブル
MediaWiki バージョン:
1.13

The updatelog table logs MediaWiki updates, one text key row per executed update script.

フィールド

ul_key

MediaWiki の更新の際に実行されたメンテナンス スクリプトへのポインターです。 update.php 向けに、エントリは updatelist-1.22.3-1393593680 のような書式になっています。 メンテナンス スクリプトへのポインター、MediaWiki のバージョン、UNIX 日時のタイムスタンプです。

ul_value

MediaWiki バージョン:
1.17

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

スキーマの要約

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

インデックス

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