#Eloquent simple query returns null.

7 messages · Page 1 of 1 (latest)

carmine island
#

I'm going crazy with this simple query.

#

It returns only null.

#

If i remove the $table->softDeletes(); it returns properly

little estuary
#

Probably because you've changed the primary key type to be a string, instead of a generated ID?

proud field
#

Did you set "use SoftDeletes;" in your model?

little estuary