@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

at recaptime-dev/main 37 lines 958 B view raw
1<?php 2 3final class HeraldActionRecord extends HeraldDAO { 4 5 protected $ruleID; 6 7 protected $action; 8 protected $target; 9 10 public function getTableName() { 11 // TODO: This class was renamed, but we have a migration which affects the 12 // table prior to to the rename. For now, having cruft here is cleaner than 13 // having it in the migration. We could rename this table again and no-op 14 // the migration after some time. See T8958. 15 return 'herald_action'; 16 } 17 18 protected function getConfiguration() { 19 return array( 20 self::CONFIG_SERIALIZATION => array( 21 'target' => self::SERIALIZATION_JSON, 22 ), 23 self::CONFIG_TIMESTAMPS => false, 24 self::CONFIG_COLUMN_SCHEMA => array( 25 'action' => 'text255', 26 'target' => 'text', 27 ), 28 self::CONFIG_KEY_SCHEMA => array( 29 'ruleID' => array( 30 'columns' => array('ruleID'), 31 ), 32 ), 33 ) + parent::getConfiguration(); 34 } 35 36 37}