Correct Aphlict websocket URI construction after PHP8 compatibility changes
[phabricator.git] / src / applications / repository / storage / PhabricatorRepositoryMirror.php
blobd124297bcc98eb8729bad3876b9433eef1cb3f15
1 <?php
3 /**
4 * TODO: Remove this class and drop the underlying table after some time has
5 * passed. It currently exists only so that "bin/storage adjust" does not
6 * complain about the table.
7 */
8 final class PhabricatorRepositoryMirror
9 extends PhabricatorRepositoryDAO {
11 protected $repositoryPHID;
12 protected $remoteURI;
13 protected $credentialPHID;
15 protected function getConfiguration() {
16 return array(
17 self::CONFIG_AUX_PHID => true,
18 self::CONFIG_COLUMN_SCHEMA => array(
19 'remoteURI' => 'text255',
20 'credentialPHID' => 'phid?',
22 self::CONFIG_KEY_SCHEMA => array(
23 'key_repository' => array(
24 'columns' => array('repositoryPHID'),
27 ) + parent::getConfiguration();