Support the ongoing development of Laravel.io →

TomHege

Joined 6 Sep 2016

Statistics

Threads 1
Replies 1
Solutions 0
Articles 0
posted 8 years ago

Creating unique id when creating model

Hi, I would like to generate a unique code whenever a new object of a model is created. Therefore, I...

0 Likes
2 Replies
Solved
replied 8 years ago

Creating unique id when creating model

Yeah, the infinite loop propably causes the error. Good idea to move the generation to the creating...

0 Likes

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.