You can uninstall / remove by running the following command
sudo apt remove teams
You can uninstall / remove by running the following command
sudo apt remove teams
Magento 2 provide us the uninstall module feature which will remove all of the table, data like it hadn’t installed yet.
File: app/code/PHPCodez/First/Setup/Uninstall.php Continue reading Uninstall Setup Script Magento 2
Some time its necessary to create DB tables and add data to tables. Mageto provides some classes using which you can create DB table structure or add data to tables. Following are the important classes
InstallSchema – This class can be used to setup DB structure when modules is instaled for the first time.
InstallData – This class can be used to load the initial data when modules is insttale for the first time. Continue reading SQL Setup Script Magento 2