When a booking is made by a user, their userName should be written into the field Maybe Name (might need to check if this is secure or whether it would be better to use the unique id that comes with a new user).
There should be a validation on the form where appointments are only visible if bookedBy == Nothing.
When a booking is made by a user, their userName should be written into the field Maybe Name (might need to check if this is secure or whether it would be better to use the unique id that comes with a new user).
There should be a validation on the form where appointments are only visible if
bookedBy
== Nothing.