API CHANGE: autologinhash index removed due to conflicts with nulls in MSSQL

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@73816 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Geoff Munn 2009-03-30 03:04:37 +00:00
parent 6cbeeb9e03
commit d8f8184986

View File

@ -40,8 +40,7 @@ class Member extends DataObject {
static $indexes = array(
'Email' => true,
//'AutoLoginHash' => 'unique (AutoLoginHash)'
'AutoLoginHash' => Array('type'=>'unique', 'value'=>'AutoLoginHash')
//'AutoLoginHash' => Array('type'=>'unique', 'value'=>'AutoLoginHash', 'ignoreNulls'=>true) //Removed due to duplicate null values causing MSSQL problems
);
static $notify_password_change = false;