2013-05-20 19:18:26 +02:00
|
|
|
<?php
|
|
|
|
|
|
|
|
final class DivinerLiveAtom extends DivinerDAO {
|
|
|
|
|
|
|
|
protected $symbolPHID;
|
|
|
|
protected $content;
|
|
|
|
protected $atomData;
|
|
|
|
|
|
|
|
public function getConfiguration() {
|
|
|
|
return array(
|
|
|
|
self::CONFIG_TIMESTAMPS => false,
|
|
|
|
self::CONFIG_SERIALIZATION => array(
|
2013-06-06 17:36:51 +02:00
|
|
|
'content' => self::SERIALIZATION_JSON,
|
2013-05-20 19:18:26 +02:00
|
|
|
'atomData' => self::SERIALIZATION_JSON,
|
|
|
|
),
|
2014-10-01 16:53:12 +02:00
|
|
|
self::CONFIG_KEY_SCHEMA => array(
|
|
|
|
'symbolPHID' => array(
|
|
|
|
'columns' => array('symbolPHID'),
|
|
|
|
'unique' => true,
|
|
|
|
),
|
|
|
|
),
|
2013-05-20 19:18:26 +02:00
|
|
|
) + parent::getConfiguration();
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|