Changeset View
Changeset View
Standalone View
Standalone View
src/applications/differential/storage/DifferentialDiffProperty.php
<?php | <?php | ||||
final class DifferentialDiffProperty extends DifferentialDAO { | final class DifferentialDiffProperty extends DifferentialDAO { | ||||
protected $diffID; | protected $diffID; | ||||
protected $name; | protected $name; | ||||
protected $data; | protected $data; | ||||
protected function getConfiguration() { | protected function getConfiguration() { | ||||
return array( | return array( | ||||
self::CONFIG_SERIALIZATION => array( | self::CONFIG_SERIALIZATION => array( | ||||
'data' => self::SERIALIZATION_JSON, | 'data' => self::SERIALIZATION_JSON, | ||||
)) + parent::getConfiguration(); | ), | ||||
self::CONFIG_COLUMN_SCHEMA => array( | |||||
'name' => 'text255', | |||||
), | |||||
self::CONFIG_KEY_SCHEMA => array( | |||||
'diffID' => array( | |||||
'columns' => array('diffID', 'name'), | |||||
'unique' => true, | |||||
), | |||||
), | |||||
) + parent::getConfiguration(); | |||||
} | } | ||||
} | } |