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