Correct a parameter order swap in "diffusion.historyquery" for Mercurial
[phabricator.git] / src / applications / conpherence / storage / ConpherenceTransactionComment.php
blobcc5e87e982cf086458e22bce5e4c58bff350911d
1 <?php
3 final class ConpherenceTransactionComment
4 extends PhabricatorApplicationTransactionComment {
6 protected $conpherencePHID;
8 public function getApplicationTransactionObject() {
9 return new ConpherenceTransaction();
12 protected function getConfiguration() {
13 $config = parent::getConfiguration();
15 $config[self::CONFIG_COLUMN_SCHEMA] = array(
16 'conpherencePHID' => 'phid?',
17 ) + $config[self::CONFIG_COLUMN_SCHEMA];
19 $config[self::CONFIG_KEY_SCHEMA] = array(
20 'key_draft' => array(
21 'columns' => array('authorPHID', 'conpherencePHID', 'transactionPHID'),
22 'unique' => true,
24 ) + $config[self::CONFIG_KEY_SCHEMA];
26 return $config;