
Hi, I am a completely beginner in databases and backend. I am developing a flutter mobile app. This is my scenario, each user is a gym owner. Each gym owner has a list of lessons. For each lesson there will be the teacher, which is required and then the list of alumns that can be form 1 to 29. Teacher and alumns then have some attributes that are different.
I don't want to store teacher or alumns infos, for internal reasons every time the gym owner will have to manually write the attributes of the teacher and the alumns for every lesson.
At the moment each gym owner has only one gym but in the future i would like to provide multiple gyms for a single user.
What is the best way to structure my database ? I think i have to use relationships. In my scenario every time i will use teacher and alumns info in a couple of cloud functions and then i will mark the lesson as completed and erase all the lesson info except a few parameters for privacy reasons.
Recommended threads
- Realtime Disconnects and Error: INVALID_...
Hi Support, we are still experiencing the issue and we are a subscriber on your platform under the account of charlesbcalague@gmail.com I just want to ask here...
- Collection Permission issue
I am facing issue in my Pro account. "Add" button is disabled while adding permission in DB collection settings.
- Opened my website after long time and Ba...
I built a website around a year back and and used appwrite for making the backend. At that time the website was working fine but now when i open it the images a...
