I added new customer fields (attributes) by installer in my Magento extension. I want group this fields and show in separate tabs on customer edit page.
I can make it in installer with this code
Mage::getSingleton('eav/config') ->getAttribute('customer', $attr_code) ->setData('used_in_forms', [$form_code]) ->save();
But for this I need add new value to enum list for field form_code in table customer_form_attribute
I know how make this with SQL in mysql console:
- Check enum list by SHOW CREATE TABLE customer_form_attribute
- Change column by ALTER TABLE customer_form_attribute ...
But I need make this modification in my extension installer.
How I can make it?