LARAVEL 8: General error: 1005 occured while running migration with foreign key

By default Laravel 8 uses unsignedBigInteger as foreign key :


Alternative : Laravel provides additional, terser methods that use convention to provide a better developer experience. The example above could be written like so :


CLICK HERE to find out more related problems solutions.

Leave a Comment

Your email address will not be published.

Scroll to Top