r57662 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r57661‎ | r57662 | r57663 >
Date:03:29, 13 October 2009
Author:tomasz
Status:ok
Tags:
Comment:
Adding db schema and updating it for recent changes for ts
Modified paths:
  • /trunk/extensions/ContributionTracking/ContributionTracking.sql (added) (history)

Diff [purge]

Index: trunk/extensions/ContributionTracking/ContributionTracking.sql
@@ -0,0 +1,16 @@
 2+CREATE TABLE `contribution_tracking` (
 3+ `id` int(10) unsigned NOT NULL auto_increment,
 4+ `contribution_id` int(10) unsigned default NULL,
 5+ `note` text,
 6+ `referrer` varchar(4096) default NULL,
 7+ `anonymous` tinyint(1) unsigned NOT NULL,
 8+ `utm_source` varchar(128) default NULL,
 9+ `utm_medium` varchar(128) default NULL,
 10+ `utm_campaign` varchar(128) default NULL,
 11+ `optout` tinyint(1) unsigned NOT NULL,
 12+ `language` varchar(8) default NULL,
 13+ `ts` char(14) default NULL,
 14+ PRIMARY KEY (`id`),
 15+ UNIQUE KEY `contribution_id` (`contribution_id`),
 16+ KEY `ts` (`ts`)
 17+) /*wgDBTableOptions/*;

Status & tagging log