I try to relate two tables (users and comments), the primary user key is idUsuario, and the foreign key of the comments table is userid.
I have also specified the two tables as InnoDB.
And in the next image the primary and foreign key of the comments table.
By going to the Designer section and relating the primary key UserID (from the users table) with the foreign key UserID (from the comment table), the following error appears:
Does anyone know why this error appears and how it could be solved?