What's wrong with the php settings?

Post::where('posts.post_type', $post_type)->where('posts.created_at', '>', 'entity_user.created_at')

This query worked on the old server, and after moving to new stopped. He ceased apparently to add prefix and the table. Helps replace code like this:
Post::where('posts.post_type', $post_type)->where('posts.created_at', '>', \DB::raw('bq_entity_user.created_at'))

What could be the reason of such behavior? On the new server, new software, maybe something not listed? In the settings of Laravel prefix specified.
June 14th 19 at 20:18

Find more questions by tags Laravel