There is one change in Laravel 5.8 that is not mentioned in the official Upgrade Guide but caused me problems – I couldn’t create a foreign key migration
Well, it’s easy. There are two ways to make it work:
Either change original migration from bigIncrements() to just increments();
Or in your foreign key column do bigInteger() instead of integer()
There is one change in Laravel 5.8 that is not mentioned in the official Upgrade Guide but caused me problems – I couldn’t create a foreign key migration Well, it’s easy. There are two ways to make it work:
Either change original migration from bigIncrements() to just increments(); Or in your foreign key column do bigInteger() instead of integer()