Magento truncate a table

Truncating may needed if you want to reset all your module data, In your tables Mage_Core_Model_Resource_Db_Abstract model add a function truncate

Call the truncate when needed

Published by

Abedein

Software Engineer, Magento Developer, Full Stack Web Developer