@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 DifferentialHiddenComment
4 extends DifferentialDAO {
5
6 protected $userPHID;
7 protected $commentID;
8
9 protected function getConfiguration() {
10 return array(
11 self::CONFIG_TIMESTAMPS => false,
12 self::CONFIG_KEY_SCHEMA => array(
13 'key_user' => array(
14 'columns' => array('userPHID', 'commentID'),
15 'unique' => true,
16 ),
17 'key_comment' => array(
18 'columns' => array('commentID'),
19 ),
20 ),
21 ) + parent::getConfiguration();
22 }
23
24}