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

500 when deleting a database host that has a linked node. #856

Closed
notAreYouScared opened this issue Jan 3, 2025 · 3 comments
Closed

500 when deleting a database host that has a linked node. #856

notAreYouScared opened this issue Jan 3, 2025 · 3 comments
Milestone

Comments

@notAreYouScared
Copy link
Member

If you try to delete a database host with a linked node, you will get a 500 due to a foreign key issue

SQLSTATE[23000]: Integrity constraint violation: 19 FOREIGN KEY constraint failed

You must remove the linked node, save the database host, and then delete it.

@RMartinOscar
Copy link
Contributor

Couldn't reproduce on main, tried on sqlite & mariadb
I believe #844 fixed it

@notAreYouScared
Copy link
Member Author

My migrations are up to date on sqlite, sooo I'm not sure.

@notAreYouScared
Copy link
Member Author

I guess this isn't an issue?

@RMartinOscar RMartinOscar added this to the beta17 milestone Jan 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants