Back

For appwrite cloud, does id(project/database/bucket) need to be globally unique?

  • 0
  • General
  • Cloud
Nevus
5 Jun, 2023, 03:27

Should all ids be globally unique or only for an account?

TL;DR
The IDs for appwrite cloud do not need to be globally unique. They only need to be unique within the account.
Binyamin
5 Jun, 2023, 03:28

I've just check to verify it, and I was able to create two databases with the same ID in the same account in two different projects.

Binyamin
5 Jun, 2023, 03:30

If you want to take a in-depth look, you can check utopia-php/database module https://github.com/utopia-php/database/tree/main The id you're setting in the console is a secondary ID use for your convince.

Nevus
5 Jun, 2023, 04:06

Ahh I was using the wrong project id. Sorry

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