1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-24 07:42:40 +01:00
phorge-phorge/src/applications/fact/storage/PhabricatorFactObjectDimension.php

26 lines
543 B
PHP
Raw Normal View History

2018-02-18 15:31:28 +01:00
<?php
final class PhabricatorFactObjectDimension
extends PhabricatorFactDimension {
protected $objectPHID;
protected function getConfiguration() {
return array(
self::CONFIG_TIMESTAMPS => false,
self::CONFIG_COLUMN_SCHEMA => array(),
self::CONFIG_KEY_SCHEMA => array(
'key_object' => array(
'columns' => array('objectPHID'),
'unique' => true,
),
),
) + parent::getConfiguration();
}
protected function getDimensionColumnName() {
return 'objectPHID';
}
}