Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/phabricator
Path: blob/master/src/applications/differential/storage/DifferentialHiddenComment.php
12256 views
1
<?php
2
3
final class DifferentialHiddenComment
4
extends DifferentialDAO {
5
6
protected $userPHID;
7
protected $commentID;
8
9
protected function getConfiguration() {
10
return array(
11
self::CONFIG_TIMESTAMPS => false,
12
self::CONFIG_KEY_SCHEMA => array(
13
'key_user' => array(
14
'columns' => array('userPHID', 'commentID'),
15
'unique' => true,
16
),
17
'key_comment' => array(
18
'columns' => array('commentID'),
19
),
20
),
21
) + parent::getConfiguration();
22
}
23
24
}
25
26