Closed mcmc4519 closed 5 years ago
I created belongsToThrough relation in model. When I use whereHas, I have error, table_name is undefined. Because table name is without prefix. How I can it change?
Please add your relationship and query.
Issue can be closed, I have found other solution of my task.
I created belongsToThrough relation in model. When I use whereHas, I have error, table_name is undefined. Because table name is without prefix. How I can it change?