Answers for "referencing column and referenced column in foreign key constraint are incompatible."

0

referencing column and referenced column in foreign key constraint are incompatible.

Just throwing this into the mix of possible causes, I ran into this when the referencing table column had the same "type" but did not have the same signing.

In my case, the referenced table colum was TINYINT UNSIGNED and my referencing table column was TINYINT SIGNED. Aligning both columns solved the issue.
Posted by: Guest on March-20-2021

Code answers related to "referencing column and referenced column in foreign key constraint are incompatible."

Browse Popular Code Answers by Language