r90304 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r90303‎ | r90304 | r90305 >
Date:18:32, 17 June 2011
Author:aaron
Status:ok (Comments)
Tags:
Comment:
Fix r90024: missing one PG sql file change
Modified paths:
  • /trunk/extensions/FlaggedRevs/schema/postgres/FlaggedRevs.pg.sql (modified) (history)

Diff [purge]

Index: trunk/extensions/FlaggedRevs/schema/postgres/FlaggedRevs.pg.sql
@@ -82,4 +82,12 @@
8383 frp_user_params TEXT NOT NULL default ''
8484 );
8585
 86+CREATE TABLE flaggedrevs_statistics (
 87+ frs_timestamp TIMESTAMPTZ NOT NULL,
 88+ frs_stat_key TEXT NOT NULL,
 89+ frs_stat_val BIGINT NOT NULL,
 90+ PRIMARY KEY(frs_stat_key,frs_timestamp)
 91+) /*$wgDBTableOptions*/;
 92+CREATE INDEX frs_timestamp ON flaggedrevs_statistics (frs_timestamp);
 93+
8694 COMMIT;

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r90024* Moved stats storage to new table. This makes adding stats easier and allows...aaron00:30, 14 June 2011

Comments

#Comment by 😂 (talk | contribs)   18:39, 17 June 2011

Needs /*_*/ and /*i*/

#Comment by Aaron Schulz (talk | contribs)   18:41, 17 June 2011

PG files don't use those AFAIK.

#Comment by Aaron Schulz (talk | contribs)   18:09, 26 June 2011

Resetting to "new".

Status & tagging log