Any ideas how to resolve below error please?
Installing schema... Upgrading schema... SQLSTATE[42S02]: Base table or view not found: 1146 Table 'm2.email_template' doesn't exist, query was: SELECT COUNT(*) FROM `email_template` WHERE (template_code = :template_code)
Using Magento 2.4.1 currently. Error occurs when running setup:upgrade command.
I can manually add the table in the database, but this doesn't resolve the error.
Perhaps permissions error where a module install doesn't have permission to create the table in database?
Any help greatly appreciated.