New: Learn Statamic on Laracasts!

We've retired the forum in favor of GitHub Discussions.

New conversations can be started on GitHub. Existing conversations will remain for a while longer.

Head over to GitHub →

How should I handle user ids when stored in a database?

Jeremy Hoover September 7, 2020 by Jeremy Hoover

I'm moving my Statamic users to a database. Looks like Laravel likes to store user ids as an INT, but Statamic had dashes and letters in the user's id field.

Am I right that I need to change all of these ids? I had used them in related user fields in my collection entries.

Answered by Erin Dalzell!
>>>>>>> Answered <<<<<<<
2 Replies
2 Followers