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
- Query multi-tenant db with $permissions ...
I'm setting up a multi-tenant database with RLS enabled. My users my have permissions set for multiple Teams, and as such when they query the database with the ...
- Realtime for files() works almost well, ...
I have been trying to make use of realtime, today (14.03.26) I have pulled all the latest versions of docker images, and sdk available. Whats working: - Conn...
- Weird permission failure
when creating an account I use following methods: ``` Future<void> register(String email, String password, String username) async { final user = await accoun...