mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-27 07:50:57 +01:00
dc8b2ae6d2
Summary: Ref T1191. Notable: - `HeraldApplyTranscript` is not actually a DAO and has no table (it is serialized into HeraldTranscript). Test Plan: Down to fewer than 300 issues. Reviewers: btrahan Reviewed By: btrahan Subscribers: epriestley Maniphest Tasks: T1191 Differential Revision: https://secure.phabricator.com/D10588
30 lines
671 B
PHP
30 lines
671 B
PHP
<?php
|
|
|
|
final class HeraldCondition extends HeraldDAO {
|
|
|
|
protected $ruleID;
|
|
|
|
protected $fieldName;
|
|
protected $fieldCondition;
|
|
protected $value;
|
|
|
|
protected function getConfiguration() {
|
|
return array(
|
|
self::CONFIG_SERIALIZATION => array(
|
|
'value' => self::SERIALIZATION_JSON,
|
|
),
|
|
self::CONFIG_TIMESTAMPS => false,
|
|
self::CONFIG_COLUMN_SCHEMA => array(
|
|
'fieldName' => 'text255',
|
|
'fieldCondition' => 'text255',
|
|
'value' => 'text',
|
|
),
|
|
self::CONFIG_KEY_SCHEMA => array(
|
|
'ruleID' => array(
|
|
'columns' => array('ruleID'),
|
|
),
|
|
),
|
|
) + parent::getConfiguration();
|
|
}
|
|
|
|
}
|