I am trying to create a table in MySQL with two foreign keys, which reference the primary keys in 2 other tables, but I am getting an errno: 150 error and it will not create
When the foreign key constraint is based on varchar type, then in addition to the list provided by marv-el the target column must have an unique constraint.