Changeset View
Changeset View
Standalone View
Standalone View
src/applications/people/storage/PhabricatorUserLog.php
Show First 20 Lines • Show All 123 Lines • ▼ Show 20 Lines | final class PhabricatorUserLog extends PhabricatorUserDAO | ||||
public function getConfiguration() { | public function getConfiguration() { | ||||
return array( | return array( | ||||
self::CONFIG_SERIALIZATION => array( | self::CONFIG_SERIALIZATION => array( | ||||
'oldValue' => self::SERIALIZATION_JSON, | 'oldValue' => self::SERIALIZATION_JSON, | ||||
'newValue' => self::SERIALIZATION_JSON, | 'newValue' => self::SERIALIZATION_JSON, | ||||
'details' => self::SERIALIZATION_JSON, | 'details' => self::SERIALIZATION_JSON, | ||||
), | ), | ||||
self::CONFIG_COLUMN_SCHEMA => array( | |||||
'actorPHID' => 'phid?', | |||||
'action' => 'text64', | |||||
'remoteAddr' => 'text64', | |||||
'session' => 'bytes40?', | |||||
), | |||||
self::CONFIG_KEY_SCHEMA => array( | |||||
'actorPHID' => array( | |||||
'columns' => array('actorPHID', 'dateCreated'), | |||||
), | |||||
'userPHID' => array( | |||||
'columns' => array('userPHID', 'dateCreated'), | |||||
), | |||||
'action' => array( | |||||
'columns' => array('action', 'dateCreated'), | |||||
), | |||||
'dateCreated' => array( | |||||
'columns' => array('dateCreated'), | |||||
), | |||||
'remoteAddr' => array( | |||||
'columns' => array('remoteAddr', 'dateCreated'), | |||||
), | |||||
'session' => array( | |||||
'columns' => array('session', 'dateCreated'), | |||||
), | |||||
), | |||||
) + parent::getConfiguration(); | ) + parent::getConfiguration(); | ||||
} | } | ||||
/* -( PhabricatorPolicyInterface )----------------------------------------- */ | /* -( PhabricatorPolicyInterface )----------------------------------------- */ | ||||
public function getCapabilities() { | public function getCapabilities() { | ||||
▲ Show 20 Lines • Show All 41 Lines • Show Last 20 Lines |