SyntaxFix
Write A Post
Hire A Developer
Questions
Try to use the same type of your primary keys - int(11) - on the foreign keys - smallint(5) - as well.
Hope it helps!