Magento – Start with clean database

databasesetup-scripttable

When I want to start over with a clean database in a local/dev environment, is it enough to delete all tables and let the setup/update/data scripts (Mage, custom modules, own modules…) build up everything again?

Would you end up with a ready to go database or will I miss some important table data?

I gave it a try and at first it seems to go well, but I just wanted to double check…

Best Answer

Try the --cleanup-database in magento command line tool. Documentation

Related Topic