Back

Deleting a related collection does not delete the relationship attribute.

  • 0
  • Databases
steve jobs
8 May, 2023, 09:03

steps to reproduce.

  1. create host collection and target collection.
  2. create a many to one relationship attribute from host -> target.
  3. delete the target collection as a whole.
  4. but the many to one relationship attribute that we created still exist.

is this the expected behavior?? or is this a bug for me only??

and also, i cannot delete that relationship attribute. its stuck on "deleting" . i cannot recreate relationship in the same attribute name to another collection either.

in the appwrite console. there are no errors. and in UI console also, it shows attribute it succesfully deleted.

TL;DR
User has encountered an issue where deleting a related collection does not delete the relationship attribute. They have tried deleting the target collection but the attribute still exists. They are unsure if this is a bug or expected behavior. They also mention being unable to delete the relationship attribute and it being stuck on "deleting". No errors are displayed in the appwrite console. A GitHub issue is suggested to report the bug.
Drake
8 May, 2023, 15:27

Probably a bug. Would you please create a GitHub issue for this?

Vedsaga
8 May, 2023, 15:54

ya can cofirm this have happen and needed to delete whole collection

Vedsaga
22 May, 2023, 16:05

did issue related to got created? Else happy to create...

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more