📜  外键约束中的引用列和被引用列不兼容. - 无论代码示例

📅  最后修改于: 2022-03-11 14:56:19.558000             🧑  作者: Mango

代码示例1
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.