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