Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/phabricator
Path: blob/master/src/applications/differential/storage/DifferentialAffectedPath.php
12256 views
1
<?php
2
3
/**
4
* Denormalized index table which stores relationships between revisions in
5
* Differential and paths in Diffusion.
6
*/
7
final 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
}
33
34