
Since the migration from 1.2.0 to 1.3.1 im getting the following error when creating a new attribute for a collection
appwrite | [Error] Timestamp: 2023-04-18T10:30:45+00:00
appwrite | [Error] Method: POST
appwrite | [Error] URL: /v1/databases/:databaseId/collections/:collectionId/attributes/string
appwrite | [Error] Type: Utopia\Database\Exception\Structure
appwrite | [Error] Message: Invalid document structure: Unknown attribute: "options"
appwrite | [Error] File: /usr/src/code/vendor/utopia-php/database/src/Database/Database.php
appwrite | [Error] Line: 2426
Any ideas?

The attribute does not get created either and a error pops up saying "Server Error"

Hi - So, basically its failing this line https://github.com/utopia-php/database/blob/main/src/Database/Validator/Structure.php#L232

can you show me your code once? or are you trying it from console?

Was from the console

Not sure what happend, I restarted the images multiple times, ran the migration again and now it works

oh cool

[SOLVED] Message: Invalid document structure: Unknown attribute: "options"
Recommended threads
- Flutter OAuth2 Google does not return to...
When the flow starts, the browser opens, I select an account, and it keeps showing: """ Page not found The page you're looking for doesn't exist. `general_rout...
- JSON and Object Support in Collection do...
I am working with Next.Js and Appwrite Cloud, I am relatively New to Appwrite but i have noticed there is no direct support of JSON and Object support in attrib...
- list() is very slow; eventually shows no...
When I use the web browser to view the collections in my database, the documents they contain are normally displayed within a few seconds. For a few days now, h...
