Invalid query: Unknown column 'vote' in 'where clause'