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
- SMS - Github Student Pack
I have a project on Appwrite Github Student Pack but unable to send any message as I get error: "Phone authentication limit for your organization has exceeded. ...
- Relationship data Not showing on update ...
Version : 1.9.0 OS/System : Windows10/Docker Database : MongoDB Clean Zero Installation The first thing I did in the testing process was create a category and...
- Dart runtime functions are timing out an...
My appwrite function is not executing at all and showing the error in error logs: I tried redeploying. Still no luck. I have set the function to ise maximum re...