r36341 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r36340‎ | r36341 | r36342 >
Date:18:23, 16 June 2008
Author:aaron
Status:old
Tags:
Comment:
PG fixes (bug 14559)
Modified paths:
  • /trunk/extensions/FlaggedRevs/FlaggedRevs.pg.sql (modified) (history)

Diff [purge]

Index: trunk/extensions/FlaggedRevs/FlaggedRevs.pg.sql
@@ -10,8 +10,8 @@
1111 fp_quality INTEGER NULL default NULL,
1212 PRIMARY KEY (fp_page_id)
1313 );
14 -CREATE INDEX fp_reviewed_page ON flaggedpages (fp_reviewed,fp_page_id),
15 -CREATE INDEX fp_quality_page ON flaggedpages (fp_quality,fp_page_id)
 14+CREATE INDEX fp_reviewed_page ON flaggedpages (fp_reviewed,fp_page_id);
 15+CREATE INDEX fp_quality_page ON flaggedpages (fp_quality,fp_page_id);
1616
1717 CREATE TABLE flaggedrevs (
1818 fr_page_id INTEGER NOT NULL DEFAULT 0,
@@ -36,7 +36,7 @@
3737 fpc_select INTEGER NOT NULL DEFAULT 0,
3838 fpc_override INTEGER NOT NULL,
3939 fpc_expiry TIMESTAMPTZ NULL
40 -)
 40+);
4141 CREATE INDEX fpc_expiry ON flaggedpage_config (fpc_expiry);
4242
4343 CREATE TABLE flaggedtemplates (
@@ -50,7 +50,7 @@
5151 CREATE TABLE flaggedimages (
5252 fi_rev_id INTEGER NOT NULL DEFAULT 0,
5353 fi_name TEXT NOT NULL DEFAULT '',
54 - fi_img_timestamp TIMESTAMPTZ NOT NULL DEFAULT '',
 54+ fi_img_timestamp TIMESTAMPTZ NOT NULL,
5555 fi_img_sha1 CHAR(64) NOT NULL DEFAULT '',
5656 PRIMARY KEY (fi_rev_id,fi_name)
5757 );

Status & tagging log