Unknown column 'consult_status' in 'where clause'