What is Uninstall Setup class in Magento2

What is Uninstall Setup Class in Magento2:

This class is useful for removing modules and tables or columns & data from the database.

uninstall

Once script is ready then update your module.xml file with new schema & setup version. And then run upgrade command on terminal.

Ex: root> php bin/magento setup:upgrade

CORNER OF BLOG:

“Save Tree Save Life”