Only INSERT if reservation doesn't exist yet.
Hey guys, I am doing a policy to prevent a user from "double" booking a listing, and I am wondering if the following WITH CHECK is valid or if it's efficient.
Conditions = Check if the authenticated user
Conditions = Check if the authenticated user
reserved_by already booked the existing listing_id