mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-04 20:52:43 +01:00
4fcc634a99
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
26 lines
574 B
PHP
26 lines
574 B
PHP
<?php
|
|
|
|
final class DifferentialDiffProperty extends DifferentialDAO {
|
|
|
|
protected $diffID;
|
|
protected $name;
|
|
protected $data;
|
|
|
|
protected function getConfiguration() {
|
|
return array(
|
|
self::CONFIG_SERIALIZATION => array(
|
|
'data' => self::SERIALIZATION_JSON,
|
|
),
|
|
self::CONFIG_COLUMN_SCHEMA => array(
|
|
'name' => 'text128',
|
|
),
|
|
self::CONFIG_KEY_SCHEMA => array(
|
|
'diffID' => array(
|
|
'columns' => array('diffID', 'name'),
|
|
'unique' => true,
|
|
),
|
|
),
|
|
) + parent::getConfiguration();
|
|
}
|
|
|
|
}
|