Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Laravel 5.8 #245

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Support Laravel 5.8 #245

wants to merge 1 commit into from

Conversation

getspooky
Copy link

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
Copy link

zaibak commented May 30, 2019

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

Copy link

@codiiv codiiv left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tested this and it's working in 5.8.14

Copy link

@bumbummen99 bumbummen99 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also working on 5.8.17

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants