any update about this issues? https://github.com/appwrite/appwrite/discussions/2910
It's funny because the issue Steven linked says it improves the attribute updating, but in fact the only thing you can update is the required option and deleting. So updating an attribute is basically non-existent <:1lolol:638463120632709144>
what exactly do you need to do?
Update the size for example (it's one of the most crucial parts in my view)
sometime i can't create new document after updating attribute such as add a new enum variable
also i can't update a string size, what should i do in production if theere some change with string size attribute??
That's weird...that shouldn't happen...what exactly happens? Do you get an error?
As for this, you can 👍🏼 this issue: https://github.com/appwrite/appwrite/issues/5458
For some background, we didn't allow updating anything about attributes because:
- it can lock up the table causing downtime in your app
- it can break older apps that are dependent on the older schema
In 1.3, we added support for partially updating attributes in a way that wouldn't lock up your tables.
Eventually, we want to add more support for updating attributes, but we're still concerned about the 2 points I mentioned
im using 1.3.8 version self hosted, and the bug still exist, i can reproduce the bug by changing enum variable, and to fix that i need to recreating the attribute with updated enum variable
What are the exact steps to reproduce?
- create attribute, add 5 enum variable
- create 1 document with node js (success)
- update the attribute, and add 1 more enum variable
- create 1 document with node js (failed)
Recommended threads
- Not allowed permission to upsert a prese...
```js const presenceID = ID.unique(); setPID(presenceID); const presence = await presences.upsert({ presenceId: presenceID, status: "online"...
- Finding job
Hi. I am a full-stack developer with experience in developing scalable and user-friendly web applications. I handle both front-end and back-end development, im...
- Can't really use the S3 storage device
hi, I've linked my local MinIO Instance (it's just for testing, not for prod.) to my appwrite instance, when i'm uploading a file it's getting uploaded to the S...