Differential D10527 Diff 25342 src/applications/mailinglists/storage/PhabricatorMetaMTAMailingList.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/mailinglists/storage/PhabricatorMetaMTAMailingList.php
Show All 11 Lines | final class PhabricatorMetaMTAMailingList extends PhabricatorMetaMTADAO | ||||
public function generatePHID() { | public function generatePHID() { | ||||
return PhabricatorPHID::generateNewPHID( | return PhabricatorPHID::generateNewPHID( | ||||
PhabricatorMailingListListPHIDType::TYPECONST); | PhabricatorMailingListListPHIDType::TYPECONST); | ||||
} | } | ||||
public function getConfiguration() { | public function getConfiguration() { | ||||
return array( | return array( | ||||
self::CONFIG_AUX_PHID => true, | self::CONFIG_AUX_PHID => true, | ||||
self::CONFIG_COLUMN_SCHEMA => array( | |||||
'name' => 'text255', | |||||
'email' => 'text255', | |||||
'uri' => 'text255?', | |||||
), | |||||
self::CONFIG_KEY_SCHEMA => array( | |||||
'key_phid' => null, | |||||
'phid' => array( | |||||
'columns' => array('phid'), | |||||
'unique' => true, | |||||
), | |||||
'email' => array( | |||||
'columns' => array('email'), | |||||
'unique' => true, | |||||
), | |||||
'name' => array( | |||||
'columns' => array('name'), | |||||
'unique' => true, | |||||
), | |||||
), | |||||
) + parent::getConfiguration(); | ) + parent::getConfiguration(); | ||||
} | } | ||||
/* -( PhabricatorPolicyInterface )----------------------------------------- */ | /* -( PhabricatorPolicyInterface )----------------------------------------- */ | ||||
public function getCapabilities() { | public function getCapabilities() { | ||||
Show All 30 Lines |