@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.)
hq.recaptime.dev/wiki/Phorge
phorge
phabricator
1<?php
2
3final class PhabricatorFactCursor extends PhabricatorFactDAO {
4
5 protected $name;
6 protected $position;
7
8 protected function getConfiguration() {
9 return array(
10 self::CONFIG_COLUMN_SCHEMA => array(
11 'name' => 'text64',
12 'position' => 'text64',
13 ),
14 self::CONFIG_KEY_SCHEMA => array(
15 'name' => array(
16 'columns' => array('name'),
17 'unique' => true,
18 ),
19 ),
20 ) + parent::getConfiguration();
21 }
22
23}