I'm having trouble with a sql in the laravel where I make a join, but the error happens even in where
, where deleted_at
is equal to null
, remembering deleted_at
is timestamp
. In the database is running sql, but not laravel. What is missing? I'm using the postgres database.
The following is the error image: