hello, not sure if this is the right channel for t...
# ideas-and-suggestions
o
hello, not sure if this is the right channel for this but Im building therapist site who depends mostly on therapy sessions so Im using calendly and integrating stripe thru calendly for payments. I subscribed to calendly's webhooks so im getting an object with all the data of event user and payments. I'd like to save this is DB for client reporting of therapy history. I have a user table, a session table and maybe profile. I want to be able query user sessions, user payments and display the data in a table on their profile. What tables should I create, am i doing this right? How do i check if user exists to update their data otherwise create a new row for them if they dont?