I wonder how to model something like this:
A user can create any amount of events. Each event belongs to one user.
What I have done so far: Created a new tables called 'users' and 'events'. When a user signs up, a new entry in 'users' is created with its id from the built-in auth table. This column is called 'userId'. However, when trying to set relationship to the 'events' table, the relationship is created via the 'user' table rowId. I cannot specify a key unfortunately.
How did you solve this?
Later, I want to do something in an admin dashboard: Get all events from user xyz
Recommended threads
- Sudden CORS Errors - Domain hasn't Chang...
I have an Appwrite project with two web apps configured, the first one has the hostname `*` and the second one I just added to test if it could fix the issue wi...
- User ID case sensitivity
I see that through REST (and SDK as well), getting a user is not case sensitive. And even though documentation does not clearly state that it is, the wording "V...
- Any way to temporarily bypass the email ...
Hey guys, any way to bypass the email verification to use the accounts again? i need to recover some projects that due to recent changes have been stopped, and ...