r16875 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r16874‎ | r16875 | r16876 >
Date:19:51, 8 October 2006
Author:greg
Status:old
Tags:
Comment:
Postgres: make sure recentchanges.rc_cur_id is allowed to be null.
Modified paths:
  • /trunk/phase3/maintenance/updaters.inc (modified) (history)

Diff [purge]

Index: trunk/phase3/maintenance/updaters.inc
@@ -885,6 +885,9 @@
886886 ALTER TABLE image ALTER img_width TYPE INTEGER;
887887 ALTER TABLE image ALTER img_height TYPE INTEGER;
888888
 889+-- Constraint tweaking:
 890+ALTER TABLE recentchanges ALTER rc_cur_id DROP NOT NULL;
 891+
889892 -- New columns:
890893 ALTER TABLE ipblocks ADD ipb_anon_only CHAR NOT NULL DEFAULT '0';
891894 ALTER TABLE ipblocks ADD ipb_create_account CHAR NOT NULL DEFAULT '1';