-
Notifications
You must be signed in to change notification settings - Fork 3.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
🐛 Bug Report: Not able to Edit Attributes in the database. #6287
Comments
Good catch @btme0011. Let me take this to the team! |
Hi all, has there been any updates for this issue |
@btme0011 @henrychea You can only edit the required field or the default field (if required is not selected) |
@Haimantika would it be possible update a attribute that is no longer used or needs to be renamed? For example bookId -> old_bookId, I understand that attribute data type is a very complex to change but is it also true for renaming? |
Yes, we do not allow it |
We don't allow updating attributes because changes like that on the collection can lock the collection and cause downtime. For now, I would recommend following typical recommended approaches to updating databases. This might give you some insight: https://teamplify.com/blog/zero-downtime-DB-migrations/. |
👟 Reproduction steps
👍 Expected behavior
Attribute should be updated
👎 Actual Behavior
Not able to update attribute
🎲 Appwrite version
Version 1.4.x
💻 Operating system
MacOS
🧱 Your Environment
No response
👀 Have you spent some time to check if this issue has been raised before?
🏢 Have you read the Code of Conduct?
The text was updated successfully, but these errors were encountered: