SQLSTATE[42804]: Datatype mismatch: 7 ERROR: argument of WHERE must be type boolean, not type bigint LINE 1: ...omoted AS h__promoted FROM health_centers h WHERE h.id LIMIT... ^