I'm a newbie in magento 2 development. I'm creating magento 2 module and testing with composer. My test project is in github. https://github.com/hussain-badusha/magento-badusha-test
In my module, i simply created a table in Setup/InstallSchema. As everybody does, i just want to delete my table when the user is uninstalling my module. So, after minutes of surfing, i found a way and used Setup/Uninstall to delete the table.
But, the table is not deleting while i uninstall the module
To reproduce the error, I installed it using composer by putting git url in repositories in magento installed root path. Then i used this command
composer require badusha/module-test @dev
To uninstall, i used this command
php bin/magento module:uninstall -r Badusha_Test
Uninstallation is successful but the table is not deleted.
Any help would be appreciable.