Back

FK on collection to user?

  • 0
  • Self Hosted
  • Web
Lorenz
3 Jun, 2024, 14:13

Hi I want to create a few collections which should have a reference to a user. When I click on relation for an attribute I cannot select user/auth or something which is related to a user. Isn't it possible to create a reference key for users and should I just create the user_id field without any relation or how does this work in appwrite?

TL;DR
The developer wants to create collections with a reference to a user in Appwrite but is unable to select user/auth as a related entity. They are wondering if it's possible to create a reference key for users in Appwrite or if they should just create the user_id field without any relation.
Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more