r89811 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r89810‎ | r89811 | r89812 >
Date:02:17, 10 June 2011
Author:kaldari
Status:ok
Tags:
Comment:
adding new fields for requested analytics
Modified paths:
  • /trunk/extensions/WikiLove/patches/WikiLoveLog.sql (modified) (history)

Diff [purge]

Index: trunk/extensions/WikiLove/patches/WikiLoveLog.sql
@@ -5,14 +5,20 @@
66 --
77
88 CREATE TABLE IF NOT EXISTS /*_*/wikilove_log (
9 - wll_id int NOT NULL PRIMARY KEY auto_increment, -- unique id
10 - wll_timestamp binary(14) NOT NULL, -- timestamp
11 - wll_sender int(11) NOT NULL, -- user id of the sender
12 - wll_receiver int(11) NOT NULL, -- user id of the receiver
13 - wll_type varchar(64) NOT NULL, -- type (and subtype) of message
14 - wll_subject varchar(255) NOT NULL, -- subject line
15 - wll_message blob NOT NULL, -- actual message
16 - wll_email bool NOT NULL default '0' -- whether or not a notification mail has been sent
 9+ wll_id int NOT NULL PRIMARY KEY auto_increment, -- unique id
 10+ wll_timestamp binary(14) NOT NULL, -- timestamp
 11+ wll_sender int(11) NOT NULL, -- user id of the sender
 12+ wll_sender_registration varchar(32) default NULL, -- registration date of the sender
 13+ wll_sender_totaledits mediumint(8) default NULL, -- total number of edits for the sender
 14+ wll_sender_recentedits smallint(6) default NULL, -- number of recent edits for the sender
 15+ wll_receiver int(11) NOT NULL, -- user id of the receiver
 16+ wll_receiver_registration varchar(32) default NULL, -- registration date of the receiver
 17+ wll_receiver_totaledits mediumint(8) default NULL, -- total number of edits for the receiver
 18+ wll_receiver_recentedits smallint(6) default NULL, -- number of recent edits for the receiver
 19+ wll_type varchar(64) NOT NULL, -- type (and subtype) of message
 20+ wll_subject varchar(255) NOT NULL, -- subject line
 21+ wll_message blob NOT NULL, -- actual message
 22+ wll_email bool NOT NULL default '0' -- whether or not a notification mail has been sent
1723 ) /*$wgDBTableOptions*/;
1824
1925 CREATE INDEX /*i*/wll_timestamp ON /*_*/wikilove_log (wll_timestamp);

Status & tagging log