column('id'); ConstructionRecord::where([['construction_id','not in',$ids]])->delete(); } }