You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This feature would be a life saver, because when I move from dev environment to production, the collection ids change, which makes it really annoying to change environment variables
Reacted by Aarnav Pai, Michael Gault Jr., Ricci Dorian, Jasmine Vine, Rafael and Elias Deuss
Yeah, I'd almost consider this is an essential feature. Though I think instead of having the name be the id, the id should be modifiable and is autogenerated by default. That way it is consistent with the rest of the database, having a label/name and a key/id, and doesn't cause any breaking changes.
What would make sense to me is like an alias for the collection, that can potentially be modified afterwards - even when already referenced since in the endthe real id is the key.
But that would come at a cost, since in the internals the collection ID is an index in MariaDB.
We are planning a refactor on our Database Internals right now and this might be a good suggestion here: appwrite/rfc#21
Activity
michaelgaultjr commentedon Mar 19, 2021
Yeah, I'd almost consider this is an essential feature. Though I think instead of having the name be the id, the id should be modifiable and is autogenerated by default. That way it is consistent with the rest of the database, having a label/name and a key/id, and doesn't cause any breaking changes.
TorstenDittmann commentedon Mar 19, 2021
What would make sense to me is like an alias for the collection, that can potentially be modified afterwards - even when already referenced since in the endthe real id is the key.
But that would come at a cost, since in the internals the collection ID is an index in MariaDB.
We are planning a refactor on our Database Internals right now and this might be a good suggestion here: appwrite/rfc#21
arnu515 commentedon Mar 20, 2021
jasdvine commentedon May 27, 2021
+1 it'd be really helpful to be able to modify the ID of collections and documents
eldadfux commentedon May 27, 2021
Update 27-05-21: We are actively testing custom IDs for both collections and documents 😍
eldadfux commentedon Aug 6, 2021
Update 06-08-21: We have got the custom IDs PR merged. This feature is expected to be released as part of Appwrit 0.10.0.
#1350
eldadfux commentedon Sep 3, 2021
This feature is currently planned for 0.12
edeuss commentedon Oct 27, 2021
This would be great, currently the only thing holding me back from AppWrite Database
eldadfux commentedon Dec 13, 2021
Custom IDs are ready and will be released as part of Appwrite 0.12.
eldadfux commentedon Jan 5, 2022
This fix is now available as part of Appwrite 0.12 which is now officially released. You can learn more at: https://dev.to/appwrite/its-here-announcing-the-release-of-appwrite-012-5c8b