Jump to content

Manual:Image comment temp table: Difference between revisions

From mediawiki.org
Content deleted Content added
m provide schema summary for image_comment_temp table
No edit summary
Line 6: Line 6:


This table was introduced in {{gerrit|357892}}.
This table was introduced in {{gerrit|357892}}.

It is merged into the image table in MediaWiki 1.32 with {{phabricator|T188132}}.


== Fields ==
== Fields ==

Revision as of 12:20, 2 December 2018

image_comment_temp table
MediaWiki version:
1.30

Temporary table creating a relation between each row of the image table and a row of the comment table. It has been created to avoid blocking on an alter of the image table. On large wikis like Wikimedia Commons, altering the image table is a months-long process. This table is being created to avoid such an alter, and will be merged back into the image in the future.

This table was introduced in Gerrit change 357892.

It is merged into the image table in MediaWiki 1.32 with T188132.

Fields

imgcomment_name

Key to image.img_name

imgcomment_description_id

Key to comment.comment_id

Schema summary

DESCRIBE image_comment_temp;

+---------------------------+---------------------+------+-----+---------+-------+
| Field                     | Type                | Null | Key | Default | Extra |
+---------------------------+---------------------+------+-----+---------+-------+
| imgcomment_name           | varbinary(255)      | NO   | PRI | NULL    |       |
| imgcomment_description_id | bigint(20) unsigned | NO   | PRI | NULL    |       |
+---------------------------+---------------------+------+-----+---------+-------+