mirror of
https://we.phorge.it/source/phorge.git
synced 2025-01-08 22:01:03 +01:00
d6b882a804
Summary: Ref T6822. Test Plan: `grep` Reviewers: epriestley, #blessed_reviewers Reviewed By: epriestley, #blessed_reviewers Subscribers: hach-que, Korvin, epriestley Maniphest Tasks: T6822 Differential Revision: https://secure.phabricator.com/D11370
39 lines
862 B
PHP
39 lines
862 B
PHP
<?php
|
|
|
|
/**
|
|
* Raw fact about an object.
|
|
*/
|
|
final class PhabricatorFactRaw extends PhabricatorFactDAO {
|
|
|
|
protected $factType;
|
|
protected $objectPHID;
|
|
protected $objectA;
|
|
protected $valueX;
|
|
protected $valueY;
|
|
protected $epoch;
|
|
|
|
protected function getConfiguration() {
|
|
return array(
|
|
self::CONFIG_COLUMN_SCHEMA => array(
|
|
'id' => 'auto64',
|
|
'factType' => 'text32',
|
|
'objectA' => 'phid',
|
|
'valueX' => 'sint64',
|
|
'valueY' => 'sint64',
|
|
),
|
|
self::CONFIG_KEY_SCHEMA => array(
|
|
'objectPHID' => array(
|
|
'columns' => array('objectPHID'),
|
|
),
|
|
'factType' => array(
|
|
'columns' => array('factType', 'epoch'),
|
|
),
|
|
'factType_2' => array(
|
|
'columns' => array('factType', 'objectA'),
|
|
),
|
|
),
|
|
) + parent::getConfiguration();
|
|
}
|
|
|
|
|
|
}
|