mirror of
https://github.com/pelican-dev/panel.git
synced 2026-05-04 18:00:48 +03:00
Deleting a database host #264
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 @oleksandr1811 on GitHub (Feb 27, 2025).
Current Behavior
When deleting a database host, error 500 occurs.
SQLSTATE[23000]: Integrity constraint violation: 1451 Cannot delete or update a parent row: a foreign key constraint fails (
LNPQyr2f8DWT.database_host_node, CONSTRAINTdatabase_host_node_database_host_id_foreignFOREIGN KEY (database_host_id) REFERENCESdatabase_hosts(id)) (Connection: mysql, SQL: delete fromdatabase_hostswhereid= 16)Expected Behavior
The database host must be deleted
Steps to Reproduce
After deleting the host in the database_host_node table, everything works
Panel Version
1.0.0-beta17
Wings Version
1.0.0-beta9
Games and/or Eggs Affected
No response
Docker Image
No response
Error Logs
Is there an existing issue for this?
@rmartinoscar commented on GitHub (Feb 27, 2025):
Hey this has already been adressed and will be fixed in the next beta
https://github.com/pelican-dev/panel/pull/899