After setting attributes you can't make edit, for example let's say I choose for Strings to have 100 characters, it seem I can't change this later, neither can I change the name. Is this behaviour unpurpose, it seems weird?
This feature was added to version 1.3.0+
If you're using the cloud you'll need wait, as of now the clouds uses version 1.1.2
I am on version 1.3. Self hosting digital ocean. This features isn't on version 1.3
What version exactly
1.3.7
Only some things are editable. Changing the length of a string requires modifying the database table. We've always limited this because doing something like this in production can be an expensive task that locks up that database
That said, we're working on making more things editable
Is it possible to set string to an unlimited value at least? That way you don't have to worry about something like this
You can set bigger values yes,
Dependes on the length you're setting Appwrite will create a different Text type attirbute.
So set it to 16777216 to have unlimited one
Yes, I know I can set bigger values but there are many instances you don't actually know what length you want your string to be.
Maybe I want to pass a whole privacy policy in there, I don't know the length. How can I set a value
What I do in case I have fields like you've said I'm using the MEDIUMTEXT one
So I'll set the length to 66000 this will cover 99.0% of the use-cases
Ok
Thanks
Thanks
Recommended threads
- SELF HOSTING ISSUE, DATA NOT MIGRATING T...
Hey, devs, I recently tried to migrate my cloud instance to a self hosted version but my data is not transferred fully only the table structure is transferred ...
- No Document ID?
Hi I have a self hosted appwrite. My documents get a document ID but are not visible in the console. I don't know why this happens and how to fix this
- AppwriteException: Invalid query: Query ...
```js console.log(typeof interaction.user.id) console.log(interaction.user.id) const user_check = await TablesDB.listRows({ databaseId: "db", ...