@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 54 lines 1.3 kB view raw
1<?php 2 3final class DifferentialSchemaSpec extends PhabricatorConfigSchemaSpec { 4 5 public function buildSchemata() { 6 $this->buildEdgeSchemata(new DifferentialRevision()); 7 8 $this->buildRawSchema( 9 id(new DifferentialRevision())->getApplicationName(), 10 DifferentialChangeset::TABLE_CACHE, 11 array( 12 'id' => 'auto', 13 'cacheIndex' => 'bytes12', 14 'cache' => 'bytes', 15 'dateCreated' => 'epoch', 16 ), 17 array( 18 'PRIMARY' => array( 19 'columns' => array('id'), 20 'unique' => true, 21 ), 22 'key_cacheIndex' => array( 23 'columns' => array('cacheIndex'), 24 'unique' => true, 25 ), 26 'key_created' => array( 27 'columns' => array('dateCreated'), 28 ), 29 ), 30 array( 31 'persistence' => PhabricatorConfigTableSchema::PERSISTENCE_CACHE, 32 )); 33 34 $this->buildRawSchema( 35 id(new DifferentialRevision())->getApplicationName(), 36 ArcanistDifferentialRevisionHash::TABLE_NAME, 37 array( 38 'revisionID' => 'id', 39 'type' => 'bytes4', 40 'hash' => 'bytes40', 41 ), 42 array( 43 'type' => array( 44 'columns' => array('type', 'hash'), 45 ), 46 'revisionID' => array( 47 'columns' => array('revisionID'), 48 ), 49 )); 50 51 52 } 53 54}