Unknown column 'flush_pull' in 'where clause'