You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Adds a second trait, with functionality provided for reasons cited in [this article](https://dev.to/wilburpowery/easily-use-uuids-in-laravel-45be):
- The `getIncrementing()` method is used by Eloquent to know if the IDs on the table are incrementing. Remember we are using UUIDs, so we set auto-incrementing to false.
- The `getKeyType()` method just specifies that the IDs on the table should be stored as strings.
0 commit comments