Magento - remove extension?

I bought the magento extension and copied the files to the magento directory. Everything worked perfectly. Then I wanted to reinstall it. So I deleted all the relevant files in app / code / local and deleted the corresponding database tables.

When I re-copied the extension files back to the magento directory and tried to check the extension, 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 magento did not seem to recreate the database tables for the extension.

How to reinstall this extension?

+4
source share
1 answer

Look in the core_resource table for the entry corresponding to the module name. Remove this and it will be installed from scratch on the next page request, perhaps only after clearing the cache.

+8
source

Source: https://habr.com/ru/post/1337850/


All Articles