I'm creating a feedback system kind of like Ebay. (Once you buy the item you can then leave feedback upon its purchase)
But instead of products its events (partys, meetings). Users can attend the event and then only the users that confirmed their attendance can leave feedback once the event is finished (known by an event_over boolean).
I'm wondering what the best way to create the rows and allow users to give feedback. When a user clicks attending a new Event_RSVP row is made.
Should I also at the same time make a feedback row for users that clicked "attending" (they can change there rsvp status at anytime leading upon the event). But only allow access to the feedback when the event is over?
Or should I create hundreds of feedback rows at once, when the event ends for all the users that attended it? Then allow them to use the feedback
current schema
Event Event_RSVP Feedback
------ ----------- -----------
id id id
user_id user_id user_id
event_over event_id event_id
rsvp_status message
Any opinions or suggestions?