Support the ongoing development of Laravel.io →
Database Eloquent
Last updated 2 years ago.
0

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.

Last updated 2 years ago.
0

Wow! Probably never would have thought of that... Thanks cryode!

Last updated 2 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.