Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/phabricator
Path: blob/master/src/applications/diviner/storage/DivinerLiveAtom.php
12259 views
1
<?php
2
3
final class DivinerLiveAtom extends DivinerDAO {
4
5
protected $symbolPHID;
6
protected $content;
7
protected $atomData;
8
9
protected function getConfiguration() {
10
return array(
11
self::CONFIG_TIMESTAMPS => false,
12
self::CONFIG_SERIALIZATION => array(
13
'content' => self::SERIALIZATION_JSON,
14
'atomData' => self::SERIALIZATION_JSON,
15
),
16
self::CONFIG_KEY_SCHEMA => array(
17
'symbolPHID' => array(
18
'columns' => array('symbolPHID'),
19
'unique' => true,
20
),
21
),
22
) + parent::getConfiguration();
23
}
24
25
}
26
27