Merge pull request #487 from sekjal/issue477

Set EditableCustomRule.FieldValue to Varchar(255)
This commit is contained in:
Damian Mooyman 2016-07-12 17:10:55 +12:00 committed by GitHub
commit e34b87f760

View File

@ -23,7 +23,7 @@ class EditableCustomRule extends DataObject {
private static $db = array( private static $db = array(
'Display' => 'Enum("Show,Hide")', 'Display' => 'Enum("Show,Hide")',
'ConditionOption' => 'Enum("IsBlank,IsNotBlank,HasValue,ValueNot,ValueLessThan,ValueLessThanEqual,ValueGreaterThan,ValueGreaterThanEqual")', 'ConditionOption' => 'Enum("IsBlank,IsNotBlank,HasValue,ValueNot,ValueLessThan,ValueLessThanEqual,ValueGreaterThan,ValueGreaterThanEqual")',
'FieldValue' => 'Varchar' 'FieldValue' => 'Varchar(255)'
); );
private static $has_one = array( private static $has_one = array(