Changeset View
Changeset View
Standalone View
Standalone View
src/applications/conpherence/storage/ConpherenceThread.php
Show All 21 Lines | final class ConpherenceThread extends ConpherenceDAO | ||||
} | } | ||||
public function getConfiguration() { | public function getConfiguration() { | ||||
return array( | return array( | ||||
self::CONFIG_AUX_PHID => true, | self::CONFIG_AUX_PHID => true, | ||||
self::CONFIG_SERIALIZATION => array( | self::CONFIG_SERIALIZATION => array( | ||||
'recentParticipantPHIDs' => self::SERIALIZATION_JSON, | 'recentParticipantPHIDs' => self::SERIALIZATION_JSON, | ||||
), | ), | ||||
self::CONFIG_COLUMN_SCHEMA => array( | |||||
'title' => 'text255?', | |||||
'messageCount' => 'uint64', | |||||
'mailKey' => 'text20', | |||||
), | |||||
self::CONFIG_KEY_SCHEMA => array( | |||||
'key_phid' => null, | |||||
'phid' => array( | |||||
'columns' => array('phid'), | |||||
), | |||||
), | |||||
) + parent::getConfiguration(); | ) + parent::getConfiguration(); | ||||
} | } | ||||
public function generatePHID() { | public function generatePHID() { | ||||
return PhabricatorPHID::generateNewPHID( | return PhabricatorPHID::generateNewPHID( | ||||
PhabricatorConpherenceThreadPHIDType::TYPECONST); | PhabricatorConpherenceThreadPHIDType::TYPECONST); | ||||
} | } | ||||
▲ Show 20 Lines • Show All 160 Lines • Show Last 20 Lines |