You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I came across the same today. I use a prefix for the database, as I use one DB for 3 roundcubes.
The issue is, that there is no table "users" which the SQL script references, that is the problem causing the error. In my case there are 3 user tables "rc_users", "gmx_users" and "gmail_users".
So the issue is, that this plugin doesn't take the optional database prefix into account.
Error
SQL query:
ALTER TABLE
auth_tokens
ADD CONSTRAINT
auth_tokens_ibfk_1
FOREIGN KEY (user_id
) REFERENCESusers
(user_id
) ON DELETE CASCADEMySQL said: Documentation
#1215 - Cannot add foreign key constraint
The text was updated successfully, but these errors were encountered: