Uninstall Magento custom extension with its databa

2019-03-06 07:57发布

I have created an extension and created zip file of extension so that I can install it through Magento Connect. When I uninstall my custom extension using Magento Connect it will only delete my extension files and folders but database tables of my extension are not deleted.

I also want to remove my database table of extension. I want all process to be done automatically not by using phpmyadmin and do it manually or writing any upgrade script because What I want when my extension is being used by user so they will not face any issue.

1条回答
在下西门庆
2楼-- · 2019-03-06 08:40

Sadly, there is no rollback or uninstall script as you may find those on other framework.

The install and data folders of modules are only meant to bump version up but there is no way provided by the framework to bump it down or in your case remove it totally.

查看更多
登录 后发表回答