Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/phabricator
Path: blob/master/src/applications/differential/storage/DifferentialDiffProperty.php
12256 views
1
<?php
2
3
final 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
}
27
28