Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

Reinstall module
 
centerax
Sr. Member
 
Avatar
Total Posts:  90
Joined:  2008-09-10
Montevideo, Uruguay
 

Hello,
Is possible te reinstall a custom module?
For example, I’ve made a change at my Setup.php, I’ve added a new attribute/field to my entity.
Can I reinstall Only that module so the change propagates and I don’t have to re install all magento DB?

Thanks!

 
Magento Community Magento Community
Magento Community
Magento Community
 
vianetz
Guru
 
Avatar
Total Posts:  537
Joined:  2008-04-13
Munich, Germany
 

Yes, that is possible.
Delete the appropriate entry in the core_resource db table and delete the database table of your module.

 
Magento Community Magento Community
Magento Community
Magento Community
 
centerax
Sr. Member
 
Avatar
Total Posts:  90
Joined:  2008-09-10
Montevideo, Uruguay
 

thank you very much massi!
this is very useful information.

 
Magento Community Magento Community
Magento Community
Magento Community
 
louisliu
Jr. Member
 
Total Posts:  7
Joined:  2009-06-09
 

Thank you very much, it is very useful info.

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top