r26470 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r26469‎ | r26470 | r26471 >
Date:00:26, 7 October 2007
Author:greg
Status:old
Tags:
Comment:
Set default for acr_deleted, as code sometimes inserts a null.
Modified paths:
  • /trunk/extensions/ConfirmAccount/ConfirmAccount.pg.sql (modified) (history)

Diff [purge]

Index: trunk/extensions/ConfirmAccount/ConfirmAccount.pg.sql
@@ -18,9 +18,9 @@
1919 acr_notes TEXT,
2020 acr_urls TEXT,
2121 acr_ip CIDR,
22 - acr_deleted BOOL NOT NULL,
 22+ acr_deleted BOOL NOT NULL DEFAULT 'false',
2323 acr_rejected TIMESTAMPTZ,
24 - acr_user INTEGER REFERENCES mwuser(user_id) ON DELETE SET NULL
 24+ acr_user INTEGER REFERENCES mwuser(user_id) ON DELETE SET NULL
2525 );
2626
2727 CREATE INDEX acr_deleted_reg ON account_requests (acr_deleted,acr_registration);

Status & tagging log