Correct Aphlict websocket URI construction after PHP8 compatibility changes
[phabricator.git] / src / applications / conduit / storage / PhabricatorConduitCertificateToken.php
blob79a5e64189e5d676cb805ad4d8f43caa36409a54
1 <?php
3 final class PhabricatorConduitCertificateToken extends PhabricatorConduitDAO {
5 protected $userPHID;
6 protected $token;
8 protected function getConfiguration() {
9 return array(
10 self::CONFIG_COLUMN_SCHEMA => array(
11 'token' => 'text64?',
13 self::CONFIG_KEY_SCHEMA => array(
14 'userPHID' => array(
15 'columns' => array('userPHID'),
16 'unique' => true,
18 'token' => array(
19 'columns' => array('token'),
20 'unique' => true,
23 ) + parent::getConfiguration();