Drupal - clean database
Is there a way to clear or clean the database of all the unnessecary entries that was added by amodules that have since been uninstalled. Ive crea开发者_开发技巧ted my site but have added alot of modules to ploay around with, I have no removed all of those I dont use, but just wondering if there is a way top clear the database etc.. to ensure nothing unused was left behind ?
thanks
If you have your own content that you would want to keep AND you have used the uninstall feature for all the modules that you have installed, then the only route is to manually check. if you don't have much content you could export it and replace the db with a clean one, then put your content back into it.
You can use the Schema module for discovering the remaining tables from not properly uninstalled modules.
You can also use DEVEL modules reinstall feature if you only want to clean the database but don't want remove the module.
精彩评论