foreignId is a method introduced in Laravel 7. For 5.6 you need to use unsignedBigInteger. Here's the complete list laravel.com/docs/5.6/migrations#cr...
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Hello Eelco,
foreignId
is a method introduced in Laravel 7. For 5.6 you need to useunsignedBigInteger
. Here's the complete list laravel.com/docs/5.6/migrations#cr...