A drop-in library for certain database functionality in Laravel, that allows for extra features that may never make it into the main project.
537
stars
58
forks
source link
Updating cache record when used with non-numeric primary keys bug. #47
Closed
TitasGailius closed 8 years ago
If your table has non-numeric primary key (i.e. UUID) incorrect SQL is generated.
Illuminate\Database\QueryException with message 'SQLSTATE[42S22]: Column not found: 1054 Unknown column '000ba0f1' in 'where clause' (SQL: UPDATE
usersSET
post_count=
post_count+ 1 WHERE
id= 000ba0f1-edd3-4e67-96cb-40c4ff701f67)'