It's your MySQL column type. The uid
you're trying to insert is larger than MySQL can handle, so it is reverting to the maximum value of that column, which happens to be 2147483647
.
Fix your MySQL column type to something like BIGINT
or whatever's appropriate for your data, and you should be good.
Wow! Probably never would have thought of that... Thanks cryode!
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community