ask-sheldon.com
Magento: change applied attribute product types | Bravehartk2's Blog
This tiny snipped shows, how to change the product types a Magento product attribute is applied to inside of a Magento modules setup script using the EAV Setup Resource Model.