mirror of
https://github.com/pelican-dev/panel.git
synced 2026-02-25 11:20:56 +03:00
500 when deleting a database host that has a linked node. #226
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @notAreYouScared on GitHub (Jan 4, 2025).
If you try to delete a database host with a linked node, you will get a 500 due to a foreign key issue
You must remove the linked node, save the database host, and then delete it.
@rmartinoscar commented on GitHub (Jan 4, 2025):
Couldn't reproduce on main, tried on sqlite & mariadb
I believe #844 fixed it
@notAreYouScared commented on GitHub (Jan 4, 2025):
My migrations are up to date on sqlite, sooo I'm not sure.
@notAreYouScared commented on GitHub (Jan 4, 2025):
I guess this isn't an issue?