title: How to make custom attribute comparable(script)
body: <pre><code>Code in my Setup.php
  
  'compare_field_freegift' =&gt; 
  array (
  'group' =&gt; 'Gift Product',
  'label' =&gt; 'Gift Inside',
  'type'  =&gt; 'int',
  'note'  =&gt; 'Comparing product field(Yes/No)',
  'input' =&gt; 'boolean',
  'global'=&gt; Mage_Catalog_Model_Resource_Eav_Attribute::SCOPE_STORE,
  'visible' =&gt; 1,
  'required' =&gt; 1,
  'user_defined' =&gt; 0,
  'searchable' =&gt; 0,
  'filterable' =&gt; 0,
  'comparable' =&gt; 1,//Comparable on Front-end
  'apply_to' =&gt; 'simple,configurable,downloadable',
  'visible_on_front'  =&gt; 1,
  'visible_in_advanced_search' =&gt; 0,
  'unique' =&gt; 0
  )
  </code></pre>
  
  <p>All things are working fine except making field 'comparable'->True.
  I tried with 'true','1' and 1 also but it is not coming.</p>