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