Cannot delete rows, deleted relationship column still showing in cli and with "stuck" status
- 0
- Databases
- Cloud
I had defined a two-way relationship between 2 tables, then I deleted the relationship column I tried re-creating the column but I started to get errors about the column already existing, although it wasn't present in the columns list in the cloud console.
``` $ appwrite tables-db get-column --database-id="6978c6f5001c76c8ec40" --table-id="listings"--key="medias" key : medias type : string status : stuck error : Cannot delete relationship as an attribute required : false
When I tried to update the relationship column to a new name got this:
```
$ appwrite tables-db update-relationship-column --database-id="6978c6f5001c76c8ec40" --table-id="listings" --key="medias" --new-key="medias_delete" --verbose
AppwriteException: The requested column '%s' is not yet available. Please try again later.
at _Client.<anonymous> (/opt/homebrew/Cellar/appwrite/13.1.0/libexec/lib/node_modules/appwrite-cli/dist/cli.cjs:110478:15)
at Generator.next (<anonymous>)
at fulfilled (/opt/homebrew/Cellar/appwrite/13.1.0/libexec/lib/node_modules/appwrite-cli/dist/cli.cjs:109833:24)
at process.processTicksAndRejections (node:internal/process/task_queues:104:5) {
code: 400,
type: 'column_not_available',
response: `{"message":"The requested column '%s' is not yet available. Please try again later.","code":400,"type":"column_not_available","version":"1.8.1"}`
}
✗ Error: The requested column '%s' is not yet available. Please try again later.
```
There was also a row with the relationship column with a value, after deleting the column I am not able to delete that row.
```
✗ Error:
response: '{"message":"Server Error","code":500,"type":"general_unknown","version":"1.8.1"}'
}
```
Recommended threads
- Download appwrite Docs
Is there is a way to download appwrite Docs ? Because appwrite skill isn't enough to give the agent full understanding about how appwrite works (I noticed this ...
- Appwrite Cloud Project shutdown due to i...
My appwrite projects gets shut down saying due to inactivity, but our platform gets users everyday with many requests to database and storage. so why all of a s...
- fastly error
Hey! I'm hitting a Fastly error on the www version of our site, but the root domain works fine. We have a wildcard set up, so I expected the subdomain to be cov...