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

Unable to destroy volunteer from volunteer's table #392

Closed
bransynluther opened this issue Oct 31, 2019 · 0 comments · Fixed by #393
Closed

Unable to destroy volunteer from volunteer's table #392

bransynluther opened this issue Oct 31, 2019 · 0 comments · Fixed by #393
Assignees

Comments

@bransynluther
Copy link
Collaborator

@bransynluther bransynluther commented Oct 31, 2019

After creating a Volunteer using the csv uploader feature, then trying to destroy that volunteer, it produces this error
PG::ForeignKeyViolation: ERROR: update or delete on table "volunteers" violates foreign key constraint "fk_rails_da9863bf10" on table "users" DETAIL: Key (id)=(5) is still referenced from table "users". : DELETE FROM "volunteers" WHERE "volunteers"."id" = $1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

1 participant
You can’t perform that action at this time.