thedevdojo / chatter

Chatter is a Simple Laravel Forum Package
https://devdojo.com/forums
MIT License
898 stars 294 forks source link

Support Laravel 5.8 #245

Open getspooky opened 5 years ago

getspooky commented 5 years ago

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()

zaibak commented 5 years ago

in user migration change the bigincrement id user to increments thats all