Category: Laravel
Snippet 2: Adding a UUID Trait to auto-populate uuid columns on model create
If you ever have the need for a UUID column on your models, you may as well use a trait to populate them in case you need the same functionality on other models in the future.
Anthony Rappa
Anthony Rappa
1 min read
3,599
views