Unknown column 'public' in 'where clause': SELECT * FROM reservas WHERE propiedad_fk = public and session_id = "tk7gr8mgp9ndp3ni0ejfm2q7s0"