From: Tim Starling Date: Wed, 9 Apr 2008 15:19:54 +0000 (+0000) Subject: Moved log_id to the top of the table definition for logging X-Git-Tag: 1.31.0-rc.0~48488 X-Git-Url: http://git.cyclocoop.org/%7B%24admin_url%7Dcompta/comptes/journal.php?a=commitdiff_plain;h=673c706d75d7fa324fab1c530b59a6fd76d71b66;p=lhc%2Fweb%2Fwiklou.git Moved log_id to the top of the table definition for logging --- diff --git a/maintenance/tables.sql b/maintenance/tables.sql index 4ebbeddf1e..0468240888 100644 --- a/maintenance/tables.sql +++ b/maintenance/tables.sql @@ -1055,6 +1055,9 @@ CREATE TABLE /*$wgDBprefix*/transcache ( ) /*$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. @@ -1078,9 +1081,6 @@ CREATE TABLE /*$wgDBprefix*/logging ( -- 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',