Jump to content

Extension:Comments/Comments table

From mediawiki.org

Schema

[edit]
mysql> describe Comments;
+-------------------+---------------------+------+-----+---------------------+----------------+
| Field             | Type                | Null | Key | Default             | Extra          |
+-------------------+---------------------+------+-----+---------------------+----------------+
| CommentID         | int(11)             | NO   | PRI | NULL                | auto_increment |
| Comment_Page_ID   | int(11)             | NO   | MUL | 0                   |                |
| Comment_actor     | bigint(20) unsigned | NO   | MUL | NULL                |                |
| Comment_Text      | blob                | NO   |     | NULL                |                |
| Comment_Date      | datetime            | NO   |     | 1970-01-01 00:00:01 |                |
| Comment_Parent_ID | int(11)             | NO   |     | 0                   |                |
| Comment_IP        | varbinary(45)       | NO   |     |                     |                |
+-------------------+---------------------+------+-----+---------------------+----------------+