Changeset View
Changeset View
Standalone View
Standalone View
src/applications/harbormaster/storage/build/HarbormasterBuild.php
Show First 20 Lines • Show All 137 Lines • ▼ Show 20 Lines | public function delete() { | ||||
$this->saveTransaction(); | $this->saveTransaction(); | ||||
return $result; | return $result; | ||||
} | } | ||||
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( | |||||
'buildStatus' => 'text32', | |||||
'buildGeneration' => 'uint32', | |||||
), | |||||
self::CONFIG_KEY_SCHEMA => array( | |||||
'key_buildable' => array( | |||||
'columns' => array('buildablePHID'), | |||||
), | |||||
'key_plan' => array( | |||||
'columns' => array('buildPlanPHID'), | |||||
), | |||||
'key_status' => array( | |||||
'columns' => array('buildStatus'), | |||||
), | |||||
), | |||||
) + parent::getConfiguration(); | ) + parent::getConfiguration(); | ||||
} | } | ||||
public function generatePHID() { | public function generatePHID() { | ||||
return PhabricatorPHID::generateNewPHID( | return PhabricatorPHID::generateNewPHID( | ||||
HarbormasterBuildPHIDType::TYPECONST); | HarbormasterBuildPHIDType::TYPECONST); | ||||
} | } | ||||
▲ Show 20 Lines • Show All 261 Lines • Show Last 20 Lines |