Correct a parameter order swap in "diffusion.historyquery" for Mercurial
[phabricator.git] / src / applications / conpherence / storage / ConpherenceIndex.php
blobe8c9c5c82fcd2858f52ff8cf2a63a53b62ef9f6d
1 <?php
3 final class ConpherenceIndex
4 extends ConpherenceDAO {
6 protected $threadPHID;
7 protected $transactionPHID;
8 protected $previousTransactionPHID;
9 protected $corpus;
11 protected function getConfiguration() {
12 return array(
13 self::CONFIG_TIMESTAMPS => false,
14 self::CONFIG_COLUMN_SCHEMA => array(
15 'previousTransactionPHID' => 'phid?',
16 'corpus' => 'fulltext',
18 self::CONFIG_KEY_SCHEMA => array(
19 'key_thread' => array(
20 'columns' => array('threadPHID'),
22 'key_transaction' => array(
23 'columns' => array('transactionPHID'),
24 'unique' => true,
26 'key_previous' => array(
27 'columns' => array('previousTransactionPHID'),
28 'unique' => true,
30 'key_corpus' => array(
31 'columns' => array('corpus'),
32 'type' => 'FULLTEXT',
35 ) + parent::getConfiguration();