2011-09-14 19:59:52 +02:00
|
|
|
<?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;
|
|
|
|
|
2015-01-13 20:47:05 +01:00
|
|
|
protected function getConfiguration() {
|
2011-09-14 19:59:52 +02:00
|
|
|
return array(
|
|
|
|
self::CONFIG_TIMESTAMPS => false,
|
2014-09-29 00:12:58 +02:00
|
|
|
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'),
|
|
|
|
),
|
|
|
|
),
|
2011-09-14 19:59:52 +02:00
|
|
|
) + parent::getConfiguration();
|
|
|
|
}
|
2014-07-10 00:12:48 +02:00
|
|
|
|
2011-09-14 19:59:52 +02:00
|
|
|
}
|