@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<?php
2
3/**
4 * Denormalized index table which stores relationships between revisions in
5 * Differential and paths in Diffusion.
6 */
7final class DifferentialAffectedPath extends DifferentialDAO {
8
9 protected $repositoryID;
10 protected $pathID;
11 protected $revisionID;
12
13 protected function getConfiguration() {
14 return array(
15 self::CONFIG_TIMESTAMPS => false,
16 self::CONFIG_COLUMN_SCHEMA => array(
17 'id' => null,
18 'repositoryID' => 'id?',
19 ),
20 self::CONFIG_KEY_SCHEMA => array(
21 'PRIMARY' => null,
22 'revisionID' => array(
23 'columns' => array('revisionID'),
24 ),
25 'key_path' => array(
26 'columns' => array('pathID', 'repositoryID'),
27 ),
28 ),
29 ) + parent::getConfiguration();
30 }
31
32}