Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting a QueryFailedError when deleting a Group with at least one Invite #486

Open
0xjei opened this issue Apr 10, 2024 · 0 comments
Open
Labels
bug 🐛 Something isn't working

Comments

@0xjei
Copy link
Contributor

0xjei commented Apr 10, 2024

Problem

When we try to delete a group after we have generated an invite and used it to add a member, we get the following error

QueryFailedError: update or delete on table "groups" violates foreign key constraint "invites_group_id_fkey" on table "invites".

Reproduce

We noticed that this is happening on the prod instance of Bandada, while locally/staging works fine. We should investigate more how the past events relate to the latest ones (maybe is a matter of AWS / db schema update).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant