Hi everyone,
I'm just in the process of switching a new collection property and I'm having some difficulty converting it to a "float" from an "integer".
I've added the new attribute to my collection like:
{
"key": "height",
"type": "float",
"status": "available",
"error": "",
"required": false,
"array": false,
"default": null
}
However, when I go to deploy my collection on my local instance it's timing out and I get the error ""Error Attribute creation timed out.". It worked fine when I had it as an integer but when trying to use a "float" It's timing out for some reason and I can't figure out.
Would be great if someone could point in the right direction or consider a different approach to be able to store values like 1.5.
Thank's,
Alex M
are you self hosting or on cloud?
Our deployed app used the cloud version, but this is only against my local appwrite instance whilst developing the feature.
what version of appwrite are you running locally? What version of the Appwrite CLI do you have?
What's going on in the console after you deploy?
it looks like it's taking some time deleting attributes and indexes...
Hey steven 👋
Appwrite Cli version: 5.0.3 Appwrite docker version: 1.5.5
Yeah that's right, so when I go to deploy my collection in this case it's called "climb" it's timing out when trying to delete the indexes and attributes. This is only happening when using the float data type, it works perfectly fine when using an integer but we need it to be a float to support values like 1.5 for example.
Is there anything additional that's required for a field which is a "float" ?
Recommended threads
- Usage of the new Client() and dealing wi...
Hey guys, just a quick one - we had some web traffic the other day and it ended up bombing out - To put in perspective of how the app works, we have a Nuxt Ap...
- [Beginner] CLI --queries Syntax Error & ...
Hi everyone! I am a beginner with Appwrite and trying to use the CLI, but I'm stuck with a syntax error. Any guidance would be greatly appreciated! 🙏 **Enviro...
- Increase by operators
I see appwrite have bunch of useful operators for querieng db. One more I would like to suggest is operators like increase the count of a int columns by 1,2.. ...