Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

magento - delete extension?

I bought a magento extension and copied the files into the magento directory. Everything worked great. Then I wanted to re-install it. So I deleted all relevant files in app/code/local and i deleted the relevant database tables.

When I re-copied the extension files back into the magento directory and tried to test the extension out, i get this error:

SQLSTATE[42S02]: Base table or view not found: 1146 Table 'mydb.swam_list' doesn't exist

I looked in the database and it seems magento did not re-create the database tables for the extension.

How do I re-install this extension?

like image 311
John Avatar asked Feb 26 '23 05:02

John


1 Answers

Look in the table core_resource for an entry matching the module's name. Delete that and it will install from scratch on the next page request, possibly not until after a cache flush.

like image 122
clockworkgeek Avatar answered Mar 08 '23 16:03

clockworkgeek