Skip to content
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

Open
2 tasks done
btme0011 opened this issue Sep 20, 2023 · 6 comments
Open
2 tasks done

🐛 Bug Report: Not able to Edit Attributes in the database. #6287

btme0011 opened this issue Sep 20, 2023 · 6 comments
Labels
bug Something isn't working product / console Console, UI and UX issues product / databases Fixes and upgrades for the Appwrite Database.

Comments

@btme0011
Copy link
Contributor

👟 Reproduction steps

  1. Create a Collection in database and Add Some Attributte
  2. After Creating Collection go to the attribute section
  3. Click on the Right Side three dots
  4. Go to edit option
  5. Try to edit any attribute

👍 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?

  • I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

@btme0011 btme0011 added the bug Something isn't working label Sep 20, 2023
@Haimantika
Copy link
Contributor

Good catch @btme0011. Let me take this to the team!

@Haimantika Haimantika self-assigned this Sep 21, 2023
@Haimantika Haimantika added the product / console Console, UI and UX issues label Sep 21, 2023
@stnguyen90 stnguyen90 added the product / databases Fixes and upgrades for the Appwrite Database. label Sep 21, 2023
@henrychea
Copy link

Hi all, has there been any updates for this issue

@Haimantika
Copy link
Contributor

@btme0011 @henrychea You can only edit the required field or the default field (if required is not selected)

@henrychea
Copy link

@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?

@Haimantika
Copy link
Contributor

@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

@stnguyen90
Copy link
Contributor

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/.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working product / console Console, UI and UX issues product / databases Fixes and upgrades for the Appwrite Database.
Projects
None yet
Development

No branches or pull requests

4 participants