Changeset View
Changeset View
Standalone View
Standalone View
src/applications/differential/storage/DifferentialAffectedPath.php
<?php | <?php | ||||
/** | /** | ||||
* Denormalized index table which stores relationships between revisions in | * Denormalized index table which stores relationships between revisions in | ||||
* Differential and paths in Diffusion. | * Differential and paths in Diffusion. | ||||
*/ | */ | ||||
final class DifferentialAffectedPath extends DifferentialDAO { | final class DifferentialAffectedPath extends DifferentialDAO { | ||||
protected $repositoryID; | protected $repositoryID; | ||||
protected $pathID; | protected $pathID; | ||||
protected $epoch; | protected $epoch; | ||||
protected $revisionID; | protected $revisionID; | ||||
public function getConfiguration() { | public function getConfiguration() { | ||||
return array( | return array( | ||||
self::CONFIG_TIMESTAMPS => false, | 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(); | ) + parent::getConfiguration(); | ||||
} | } | ||||
} | } |