I needed to run composer update
to install laravelcollectives. After running it I got:
QueryException in Connection.php line 651: SQLSTATE[42S22]: Column not found: 1054 Field'id' is unknown where clause (SQL: select * from users where id = 4 limit 1)
and:
PDOException in Connection.php line 319: SQLSTATE[42S22]: Column not found: 1054 field'id' is unknown where clause
There was no such error before the update. What could have gone wrong?!
id
field in theusers
table? – Mattid
filed, there is userid...but before the update the field's name was the same – Alexid
and everything worked. Unfortunately I want the field to be nameduserid
cuz I have other IDs in the DB. What should I do to remain the field's name? – Alex