referencing column and referenced column in foreign key constraint are incompatible

0

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

By Beginner Dianna Roberts at Mar 19 2021

0

general error: 3780 referencing column 'user_id' and referenced column 'id' in foreign key constraint 'blog_posts_user_id_foreign' are incompatible.

By Beginner Suzanne Kovacek at Nov 27 2020

0

SQLSTATE[HY000]: General error: 3780 Referencing column 'role_id' and referenced column 'id' in foreign key constraint 'user_role_id foreign' are incompatible.

By Beginner Wilbert Jenkins at Nov 29 2020


Related code examples


Code examples by languages