1Laravel 5.8 Added bigIncrements As Defaults
2
3So there is mismatch in foreign key field types. You see bigIncrements(id) in
4User table and unsigned Integer(user_id) in questions table.
5
6How to fix:
7
81. Either change original migration from bigIncrements() to just
9increments()
10
112. Or in your foreign key column do unsignedBigInteger() instead of
12unsignedInteger().