Skip to content
Snippets Groups Projects
Commit ccd7e459 authored by Erik Hommel's avatar Erik Hommel
Browse files

change condition_params from BLOB to TEXT

parent afd60d0b
No related branches found
No related tags found
No related merge requests found
......@@ -49,7 +49,7 @@ class CRM_Civirules_DAO_RuleCondition extends CRM_Core_DAO {
),
'condition_params' => array(
'name' => 'condition_params',
'type' => CRM_Utils_Type::T_BLOB
'type' => CRM_Utils_Type::T_TEXT
),
'is_active' => array(
'name' => 'is_active',
......
......@@ -3,7 +3,7 @@ CREATE TABLE IF NOT EXISTS civirule_rule_condition (
rule_id INT UNSIGNED NULL,
condition_link VARCHAR(3) NULL,
condition_id INT UNSIGNED NULL,
condition_params BLOB,
condition_params TEXT,
is_active TINYINT NULL DEFAULT 1,
PRIMARY KEY (id),
UNIQUE INDEX id_UNIQUE (id ASC),
......
......@@ -24,10 +24,10 @@
<title>RuleAction</title>
<access_arguments>access CiviCRM</access_arguments>
</item>
<item>
<path>civicrm/civirule/form/condition/datacomparison</path>
<page_callback>CRM_CivirulesConditions_Form_ValueComparison</page_callback>
<title>Value comparison</title>
<access_arguments>access CiviCRM</access_arguments>
</item>
<item>
<path>civicrm/civirule/form/condition/datacomparison</path>
<page_callback>CRM_CivirulesConditions_Form_ValueComparison</page_callback>
<title>Value comparison</title>
<access_arguments>access CiviCRM</access_arguments>
</item>
</menu>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment