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(
|
Fix almost all remaining schemata issues
Summary:
Ref T1191. This fixes nearly every remaining blocker for utf8mb4 -- primarily, overlong keys.
Remaining issue is https://secure.phabricator.com/T1191#77467
Test Plan: I'll annotate inline.
Reviewers: btrahan
Reviewed By: btrahan
Subscribers: epriestley, hach-que
Maniphest Tasks: T6099, T6129, T6133, T6134, T6150, T6148, T6147, T6146, T6105, T1191
Differential Revision: https://secure.phabricator.com/D10601
2014-10-01 17:18:36 +02:00
|
|
|
'name' => 'text128',
|
2014-09-29 00:12:58 +02:00
|
|
|
),
|
|
|
|
self::CONFIG_KEY_SCHEMA => array(
|
|
|
|
'diffID' => array(
|
|
|
|
'columns' => array('diffID', 'name'),
|
|
|
|
'unique' => true,
|
|
|
|
),
|
|
|
|
),
|
|
|
|
) + parent::getConfiguration();
|
2011-01-24 21:07:34 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
}
|