@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 PhabricatorSlowvoteOption extends PhabricatorSlowvoteDAO {
4
5 protected $pollID;
6 protected $name;
7
8 protected function getConfiguration() {
9 return array(
10 self::CONFIG_COLUMN_SCHEMA => array(
11 'name' => 'text255',
12 ),
13 self::CONFIG_KEY_SCHEMA => array(
14 'pollID' => array(
15 'columns' => array('pollID'),
16 ),
17 ),
18 ) + parent::getConfiguration();
19 }
20
21}