From 673c706d75d7fa324fab1c530b59a6fd76d71b66 Mon Sep 17 00:00:00 2001 From: Tim Starling Date: Wed, 9 Apr 2008 15:19:54 +0000 Subject: [PATCH] Moved log_id to the top of the table definition for logging --- maintenance/tables.sql | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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', -- 2.20.1