mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-04 12:42:43 +01:00
d6b882a804
Summary: Ref T6822. Test Plan: `grep` Reviewers: epriestley, #blessed_reviewers Reviewed By: epriestley, #blessed_reviewers Subscribers: hach-que, Korvin, epriestley Maniphest Tasks: T6822 Differential Revision: https://secure.phabricator.com/D11370
32 lines
777 B
PHP
32 lines
777 B
PHP
<?php
|
|
|
|
/**
|
|
* Denormalized index table which stores relationships between revisions in
|
|
* Differential and paths in Diffusion.
|
|
*/
|
|
final class DifferentialAffectedPath extends DifferentialDAO {
|
|
|
|
protected $repositoryID;
|
|
protected $pathID;
|
|
protected $epoch;
|
|
protected $revisionID;
|
|
|
|
protected function getConfiguration() {
|
|
return array(
|
|
self::CONFIG_TIMESTAMPS => false,
|
|
self::CONFIG_COLUMN_SCHEMA => array(
|
|
'id' => null,
|
|
),
|
|
self::CONFIG_KEY_SCHEMA => array(
|
|
'PRIMARY' => null,
|
|
'repositoryID' => array(
|
|
'columns' => array('repositoryID', 'pathID', 'epoch'),
|
|
),
|
|
'revisionID' => array(
|
|
'columns' => array('revisionID'),
|
|
),
|
|
),
|
|
) + parent::getConfiguration();
|
|
}
|
|
|
|
}
|