-- Will be NULL for pages deleted prior to 1.11.
ar_page_id int unsigned,
+ -- Original previous revision
+ ar_parent_id int unsigned default NULL,
+
KEY name_title_timestamp (ar_namespace,ar_title,ar_timestamp),
KEY usertext_timestamp (ar_user_text,ar_timestamp)
) /*$wgDBTableOptions*/;
CREATE TABLE /*$wgDBprefix*/logging (
+ -- Log ID, for referring to this specific log entry, probably for deletion and such.
+ log_id int unsigned NOT NULL auto_increment,
+
-- Symbolic keys for the general log type and the action type
-- within the log. The output format will be controlled by the
-- action field, but only the type controls categorization.
-- LF separated list of miscellaneous parameters
log_params blob NOT NULL,
- -- Log ID, for referring to this specific log entry, probably for deletion and such.
- log_id int unsigned NOT NULL auto_increment,
-
-- rev_deleted for logs
log_deleted tinyint unsigned NOT NULL default '0',