Correct a parameter order swap in "diffusion.historyquery" for Mercurial
[phabricator.git] / src / applications / herald / storage / HeraldCondition.php
blobb59da50f3e8a72b2914e04655207b53310703d17
1 <?php
3 final class HeraldCondition extends HeraldDAO {
5 protected $ruleID;
7 protected $fieldName;
8 protected $fieldCondition;
9 protected $value;
11 protected function getConfiguration() {
12 return array(
13 self::CONFIG_SERIALIZATION => array(
14 'value' => self::SERIALIZATION_JSON,
16 self::CONFIG_TIMESTAMPS => false,
17 self::CONFIG_COLUMN_SCHEMA => array(
18 'fieldName' => 'text255',
19 'fieldCondition' => 'text255',
20 'value' => 'text',
22 self::CONFIG_KEY_SCHEMA => array(
23 'ruleID' => array(
24 'columns' => array('ruleID'),
27 ) + parent::getConfiguration();