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](https://rappasoft.com/storage/profile-photos/Eda85b6b4XeMezKJO6LZOtoSANHpyeexNrANVbKZ.jpg)
Anthony Rappa
1 min read
3,231
views
Anthony Rappa
![Anthony Rappa](https://rappasoft.com/storage/profile-photos/Eda85b6b4XeMezKJO6LZOtoSANHpyeexNrANVbKZ.jpg)
Anthony Rappa
15 min read
33,219
views