title: Magento Install SQL script through addAttribute not working Customer
body: <p>I cant create custom customer attribute.</p>
  
  <pre><code>Xkey\
  Xkey\Cadastros\
  Xkey\Cadastros\etc\config.xml
  Xkey\Cadastros\Helper\Data.php
  Xkey\Cadastros\Model\
  Xkey\Cadaestros\Model\Entity\
  Xkey\Cadaestros\Model\Entity\Setup.php
  Xkey\Cadaestros\sql\
  Xkey\Cadaestros\sql\cadastros_setup\
  Xkey\Cadaestros\sql\cadastros_setup\mysql4-install-0.1.0.php
  </code></pre>
  
  <p>Config.xml </p>
  
  <pre><code>&lt;?xml version="1.0"?&gt;
  &lt;config&gt;
      &lt;modules&gt;
          &lt;Xkey_Cadastros&gt;
              &lt;version&gt;0.1.0&lt;/version&gt;
          &lt;/Xkey_Cadastros&gt;
      &lt;/modules&gt;
      &lt;global&gt;
          &lt;helpers&gt;
            &lt;cadastros&gt;
              &lt;class&gt;Xkey_Cadastros_Helper&lt;/class&gt;
            &lt;/cadastros&gt;
          &lt;/helpers&gt;
          &lt;resources&gt;
              &lt;cadastros_setup&gt;
                  &lt;setup&gt;
                      &lt;module&gt;Xkey_Cadastros&lt;/module&gt;
                      &lt;class&gt;Xkey_Cadastros_Model_Entity_Setup&lt;/class&gt;
                  &lt;/setup&gt;
                  &lt;connection&gt;
                      &lt;use&gt;core_setup&lt;/use&gt;
                  &lt;/connection&gt;
              &lt;/cadastros_setup&gt;
              &lt;cadastros_write&gt;
                  &lt;connection&gt;
                      &lt;use&gt;core_write&lt;/use&gt;
                  &lt;/connection&gt;
              &lt;/cadastros_write&gt;
              &lt;cadastros_read&gt;
                  &lt;connection&gt;
                      &lt;use&gt;core_read&lt;/use&gt;
                  &lt;/connection&gt;
              &lt;/cadastros_read&gt;
          &lt;/resources&gt;
      &lt;/global&gt;
  &lt;/config&gt;
  </code></pre>
  
  <p>mysql4-install-0.1.0.php </p>
  
  <pre><code>&lt;?php  
      $installer = $this;
      $installer-&gt;startSetup(); 
  
      //$setup = Mage::getModel('customer/entity_setup','core_setup');
      //$setup = new Mage_Eav_Model_Entity_Setup('core_setup');
  
      $installer-&gt;addAttribute('customer','rede_grupo', array(
              'type' =&gt; 'varchar',
              'input' =&gt; 'text',
              'label' =&gt; 'Rede Grupo',
              'global' =&gt; true,
              'visible' =&gt; true,
              'required' =&gt; false,
              'user_defined' =&gt; true,
              'visible_on_front' =&gt; false,
              'default' =&gt; ''
          ));
  
      if(version_compare(Mage::getVersion(), '1.4.2', '&gt;=')){
          Mage::getSingleton('eav/config')
          -&gt;getAttribute('customer', 'rede_grupo')
          -&gt;setData('used_in_forms',         array('adminhtml_customer','customer_account_create','customer_account_edit','checkout_register'))
          -&gt;save();
      }
  
      $installer-&gt;endSetup(); 
  </code></pre>
  
  <p>This create in mage_core_resource the 'cadastros_setup' version 0.1.0 but not create the field.</p>
  
  <p>What I'm doing wrong?
  Magento version: 1.8.1.0</p>