mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
MINOR Code formatting cleanup in Member
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@70807 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
abcf34ef98
commit
04fa06a94e
@ -7,12 +7,12 @@
|
||||
class Member extends DataObject {
|
||||
|
||||
static $db = array(
|
||||
'FirstName' => "Varchar",
|
||||
'Surname' => "Varchar",
|
||||
'Email' => "Varchar",
|
||||
'Password' => "Varchar(64)", // support for up to SHA256!
|
||||
'RememberLoginToken' => "Varchar(50)",
|
||||
'NumVisit' => "Int",
|
||||
'FirstName' => 'Varchar',
|
||||
'Surname' => 'Varchar',
|
||||
'Email' => 'Varchar',
|
||||
'Password' => 'Varchar(64)', // support for up to SHA256!
|
||||
'RememberLoginToken' => 'Varchar(50)',
|
||||
'NumVisit' => 'Int',
|
||||
'LastVisited' => 'SSDatetime',
|
||||
'Bounced' => 'Boolean', // Note: This does not seem to be used anywhere.
|
||||
'AutoLoginHash' => 'Varchar(30)',
|
||||
@ -26,16 +26,18 @@ class Member extends DataObject {
|
||||
);
|
||||
|
||||
static $belongs_many_many = array(
|
||||
"Groups" => "Group",
|
||||
'Groups' => 'Group',
|
||||
);
|
||||
|
||||
static $has_one = array();
|
||||
|
||||
static $has_many = array();
|
||||
|
||||
static $many_many = array();
|
||||
|
||||
static $many_many_extraFields = array();
|
||||
|
||||
static $default_sort = "Surname, FirstName";
|
||||
static $default_sort = 'Surname, FirstName';
|
||||
|
||||
static $indexes = array(
|
||||
'Email' => true,
|
||||
|
Loading…
x
Reference in New Issue
Block a user