Correct Aphlict websocket URI construction after PHP8 compatibility changes
[phabricator.git] / src / applications / repository / storage / PhabricatorRepositoryRefPosition.php
blob838037b1a0b57a20390baa2f115214cf48620604
1 <?php
3 final class PhabricatorRepositoryRefPosition
4 extends PhabricatorRepositoryDAO {
6 protected $cursorID;
7 protected $commitIdentifier;
8 protected $isClosed = 0;
10 protected function getConfiguration() {
11 return array(
12 self::CONFIG_TIMESTAMPS => false,
13 self::CONFIG_COLUMN_SCHEMA => array(
14 'commitIdentifier' => 'text40',
15 'isClosed' => 'bool',
17 self::CONFIG_KEY_SCHEMA => array(
18 'key_position' => array(
19 'columns' => array('cursorID', 'commitIdentifier'),
20 'unique' => true,
23 ) + parent::getConfiguration();