2011-01-24 21:07:34 +01:00
|
|
|
<?php
|
|
|
|
|
2012-03-13 19:18:11 +01:00
|
|
|
final class DifferentialDiffProperty extends DifferentialDAO {
|
2011-01-24 21:07:34 +01:00
|
|
|
|
|
|
|
protected $diffID;
|
|
|
|
protected $name;
|
|
|
|
protected $data;
|
|
|
|
|
|
|
|
protected function getConfiguration() {
|
|
|
|
return array(
|
|
|
|
self::CONFIG_SERIALIZATION => array(
|
2011-04-11 00:50:26 +02:00
|
|
|
'data' => self::SERIALIZATION_JSON,
|
2014-09-29 00:12:58 +02:00
|
|
|
),
|
|
|
|
self::CONFIG_COLUMN_SCHEMA => array(
|
|
|
|
'name' => 'text255',
|
|
|
|
),
|
|
|
|
self::CONFIG_KEY_SCHEMA => array(
|
|
|
|
'diffID' => array(
|
|
|
|
'columns' => array('diffID', 'name'),
|
|
|
|
'unique' => true,
|
|
|
|
),
|
|
|
|
),
|
|
|
|
) + parent::getConfiguration();
|
2011-01-24 21:07:34 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
}
|