BUGFIX Increasing length of Member.Email database column to comply with recommended RFC lengths for email addresses

This commit is contained in:
Ingo Schommer 2011-08-22 08:52:07 +02:00
parent 19bfb1c83c
commit 7d01b4042f

View File

@ -10,7 +10,7 @@ class Member extends DataObject {
static $db = array(
'FirstName' => 'Varchar',
'Surname' => 'Varchar',
'Email' => 'Varchar',
'Email' => 'Varchar(256)', // See RFC 5321, Section 4.5.3.1.3.
'Password' => 'Varchar(160)',
'RememberLoginToken' => 'Varchar(50)',
'NumVisit' => 'Int',