r34955 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r34954‎ | r34955 | r34956 >
Date:07:49, 17 May 2008
Author:aaron
Status:old
Tags:
Comment:
NOT NULL DEFAULT '',
Modified paths:
  • /trunk/extensions/FlaggedRevs/FlaggedRevs.pg.sql (modified) (history)
  • /trunk/extensions/FlaggedRevs/FlaggedRevs.sql (modified) (history)

Diff [purge]

Index: trunk/extensions/FlaggedRevs/FlaggedRevs.sql
@@ -89,7 +89,7 @@
9090 -- Name of included image
9191 fi_name varchar(255) binary NOT NULL default '',
9292 -- Timestamp of image used when reviewed
93 - fi_img_timestamp char(14) NOT NULL,
 93+ fi_img_timestamp char(14) NOT NULL default '',
9494 -- Statistically unique SHA-1 key
9595 fi_img_sha1 varbinary(32) NOT NULL default '',
9696
Index: trunk/extensions/FlaggedRevs/FlaggedRevs.pg.sql
@@ -48,10 +48,10 @@
4949 );
5050
5151 CREATE TABLE flaggedimages (
52 - fi_rev_id INTEGER NOT NULL DEFAULT 0,
53 - fi_name TEXT NOT NULL,
54 - fi_img_timestamp TIMESTAMPTZ,
55 - fi_img_sha1 CHAR(64),
 52+ fi_rev_id INTEGER NOT NULL DEFAULT 0,
 53+ fi_name TEXT NOT NULL DEFAULT '',
 54+ fi_img_timestamp TIMESTAMPTZ NOT NULL DEFAULT '',
 55+ fi_img_sha1 CHAR(64) NOT NULL DEFAULT '',
5656 PRIMARY KEY (fi_rev_id,fi_name)
5757 );
5858

Status & tagging log