I can't update attribute size restriction in the web inerface. Is there any other way. As long as I am in development faze, deleting and recreating is not a problem, but once in production, deleting attribute means deleting data. I hope there's a way to do this?
At the moment, no there is not. Doing this is tricky in production because it may result in locking the table and then your app would result in downtime. The typical recommended approach is to migrate to a new attribute in phases
Thanks Steven. I understand, but I prefer having a downtime than loosing data 🙂
By migrating in phases you mean creating a new attribute and migrating data to it? But that may require massive changes in the app code base. Or did you mean something else?
Recommended threads
- Site deployment keeps getting failed
Hi good folks, need a hand with Sites deploy Error on every deploy: Synchronous function execution timed out... duration doesn't exceed 30 seconds [exact log ...
- Relation Question
How do I create a relation from table y to an others x.$id. in my example I have a users table where I use Appwrites unique User IDs and I want other tables fo...
- Unknown attribute type: varchar / text
Since the `string` type is deprecated I tried using `varchar` and `text` in some newer tables, but when running `appwrite pull tables && appwrite types ./src/li...