Changeset View
Changeset View
Standalone View
Standalone View
src/applications/fund/storage/FundBacker.php
Show All 22 Lines | final class FundBacker extends FundDAO | ||||
} | } | ||||
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( | ||||
'properties' => self::SERIALIZATION_JSON, | 'properties' => self::SERIALIZATION_JSON, | ||||
), | ), | ||||
self::CONFIG_COLUMN_SCHEMA => array( | |||||
'status' => 'text32', | |||||
'amountInCents' => 'uint32', | |||||
), | |||||
) + parent::getConfiguration(); | ) + parent::getConfiguration(); | ||||
} | } | ||||
public function generatePHID() { | public function generatePHID() { | ||||
return PhabricatorPHID::generateNewPHID(FundBackerPHIDType::TYPECONST); | return PhabricatorPHID::generateNewPHID(FundBackerPHIDType::TYPECONST); | ||||
} | } | ||||
protected function didReadData() { | protected function didReadData() { | ||||
▲ Show 20 Lines • Show All 72 Lines • Show Last 20 Lines |