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

Deleting a key from pgsodium that's being used throws a foreign key error #12

Open
joshenlim opened this issue Nov 30, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@joshenlim
Copy link
Member

Bug report

Describe the bug

Just wondering if it should automatically be cascaded?

@joshenlim joshenlim added the bug Something isn't working label Nov 30, 2022
@michelp
Copy link
Contributor

michelp commented Dec 5, 2022

I don't think automatic cascading is a good idea, as the delete may be a mistake, the CASCADE option is a safety belt for that reason. Instead I'd suggest the dashboard UX for deleting rows possibly include a CASCADE dialog? The error tells you what would be deleted on cascade (the dashboard may not be showing this level of error detail, which would be unfortunate and should be addressed).

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

2 participants