Remove all "FileHasObject" edge reads and writes
[phabricator.git] / src / applications / config / storage / PhabricatorConfigManualActivity.php
blob9952021575845edf488907953ee6ab97f48dbff5
1 <?php
3 final class PhabricatorConfigManualActivity
4 extends PhabricatorConfigEntryDAO {
6 protected $activityType;
7 protected $parameters = array();
9 const TYPE_REINDEX = 'reindex';
10 const TYPE_IDENTITIES = 'identities';
13 protected function getConfiguration() {
14 return array(
15 self::CONFIG_TIMESTAMPS => false,
16 self::CONFIG_SERIALIZATION => array(
17 'parameters' => self::SERIALIZATION_JSON,
19 self::CONFIG_COLUMN_SCHEMA => array(
20 'activityType' => 'text64',
22 self::CONFIG_KEY_SCHEMA => array(
23 'key_type' => array(
24 'columns' => array('activityType'),
25 'unique' => true,
28 ) + parent::getConfiguration();
31 public function setParameter($key, $value) {
32 $this->parameters[$key] = $value;
33 return $this;
36 public function getParameter($key, $default = null) {
37 return idx($this->parameters, $key, $default);