in an effort to reduce the size of my database I accidentally deleted the piwik_log_link_visit_action table (it was huge and I thought it could be deleted just like the archives). Now Piwik, rightfully I guess, tells me this:
SQLSTATE[42S22]: Column not found: 1054 Unknown column 'log_link_visit_action.idvisitor' in 'field list'
How can I fix that? I can use PhpMyAdmin and I created a new table with that name and 5 fields but I don’t know much about Databases and here I am stuck.
Is there a way to create this like an empty table so Piwik can still use the data from piwik_log_visit ?
Update: I’ve been using this http://piwik.org/docs/plugins/database-schema/ as a kind of guide but it won’t work. That might be because it is a very old scheme, several fields seem to have been added since then. Anyone able to help me?