@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 DifferentialDiffProperty extends DifferentialDAO {
4
5 protected $diffID;
6 protected $name;
7 protected $data;
8
9 protected function getConfiguration() {
10 return array(
11 self::CONFIG_SERIALIZATION => array(
12 'data' => self::SERIALIZATION_JSON,
13 ),
14 self::CONFIG_COLUMN_SCHEMA => array(
15 'name' => 'text128',
16 ),
17 self::CONFIG_KEY_SCHEMA => array(
18 'diffID' => array(
19 'columns' => array('diffID', 'name'),
20 'unique' => true,
21 ),
22 ),
23 ) + parent::getConfiguration();
24 }
25
26}