Changeset View
Changeset View
Standalone View
Standalone View
src/applications/herald/storage/HeraldRule.php
Show All 30 Lines | final class HeraldRule extends HeraldDAO | ||||
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( | self::CONFIG_COLUMN_SCHEMA => array( | ||||
'name' => 'text255', | 'name' => 'text255', | ||||
'contentType' => 'text255', | 'contentType' => 'text255', | ||||
'mustMatchAll' => 'bool', | 'mustMatchAll' => 'bool', | ||||
'configVersion' => 'uint32', | 'configVersion' => 'uint32', | ||||
'repetitionPolicy' => 'uint32', | |||||
'ruleType' => 'text255', | 'ruleType' => 'text255', | ||||
'isDisabled' => 'uint32', | 'isDisabled' => 'uint32', | ||||
'triggerObjectPHID' => 'phid?', | 'triggerObjectPHID' => 'phid?', | ||||
// T6203/NULLABILITY | |||||
// This should not be nullable. | |||||
'repetitionPolicy' => 'uint32?', | |||||
), | ), | ||||
self::CONFIG_KEY_SCHEMA => array( | self::CONFIG_KEY_SCHEMA => array( | ||||
'key_phid' => null, | 'key_phid' => null, | ||||
'phid' => array( | 'phid' => array( | ||||
'columns' => array('phid'), | 'columns' => array('phid'), | ||||
'unique' => true, | 'unique' => true, | ||||
), | ), | ||||
'authorPHID' => array( | 'authorPHID' => array( | ||||
▲ Show 20 Lines • Show All 242 Lines • Show Last 20 Lines |