I am writing on one query with 2 tables in laravel. i am getting proper response when there is data in only parent table. when i trying to add data in child table m