Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
FIX: Removes column ambiguity and auto disables incrementing
Removes column ambiguity when using named scopes, an issue that would occur if you are using joins in your query on a table that also contains the uuid field. ```php $query->where(function ($query) { $query->join('tableB', 'tableA.columnA', '=', 'tableB })->uuid($uuid); ``` Also auto-disables incrementing if the uuid column is set to `id`, which is useful in that developers no longer need to add this property to potentially dozens of Models.
- Loading branch information