When using M1 i could reinstall the extension (launch setup/upgrade) just deleting the extension recording from the core_resource
table. During the second Magentomagento address (or after cache refreshing) the extension executed all the files properly beginning from the 0 versionsversion.
Unfortunately, I i could not find the detailed information on how to reinstall the extension previously installed on my Magentomagento 2. Maybe somebody faced the same issue and knows the plan of actionactions for reinstalling the extension on Magentomagento 2 and could help. Your help will be highly appreciated.
- I've got module v. 2.0.0 successfully installed with my own tables
- I've deleteddelete the tables manually from the database
- I've got module v. 2.0.0 without tablestabels
module:uninstall is intended to be used, only if you are absoluteabsolutely certain, that the module won'twont be used any longer. However, other modules may have dependencies on the module that is to be removed. Hence we use composer remove, which calculates dependencies and removes code of the module from the file system. We cannot uninstall a module that is NOT installed via composer, since there is no way for us to know about dependencies in such a situation. It is risky to remove data and code in such a case. Hence, it is recommended that for modules NOT installed via composer, manual clean up of the database and the filesystem is necessary. In module enable/disable, the code is never removed from the filesystem, so that it can be used if required at a later time. Hence, it is not removed from the setup_module table.