#Eloquent simple query returns null.
7 messages · Page 1 of 1 (latest)
7 messages · Page 1 of 1 (latest)
I'm going crazy with this simple query.
It returns only null.
If i remove the $table->softDeletes(); it returns properly
Probably because you've changed the primary key type to be a string, instead of a generated ID?
Did you set "use SoftDeletes;" in your model?