r97754 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r97753‎ | r97754 | r97755 >
Date:19:00, 21 September 2011
Author:aaron
Status:ok
Tags:
Comment:
checked in custom sql script
Modified paths:
  • /branches/wmf/1.18wmf1/extensions/FlaggedRevs/schema/mysql/patch-flaggedrevs_statistics-wmf.sql (added) (history)

Diff [purge]

Index: branches/wmf/1.18wmf1/extensions/FlaggedRevs/schema/mysql/patch-flaggedrevs_statistics-wmf.sql
@@ -0,0 +1,11 @@
 2+-- This stores overall stats
 3+CREATE TABLE /*_*/flaggedrevs_statistics (
 4+ -- Timestamp stat was recorded
 5+ frs_timestamp varbinary(14) NOT NULL,
 6+ -- Stat key name, colons separate paramaters
 7+ frs_stat_key varchar(255) NOT NULL,
 8+ -- Stat value as an integer
 9+ frs_stat_val bigint NOT NULL,
 10+ PRIMARY KEY(frs_stat_key,frs_timestamp)
 11+) /*$wgDBTableOptions*/;
 12+CREATE INDEX /*i*/frs_timestamp ON /*_*/flaggedrevs_statistics (frs_timestamp);

Status & tagging log