Skip to content

Ensure dependants are deleted before deleting itself #33

@NoUseFreak

Description

@NoUseFreak

Currently, you can delete any object in the dependency chain without any issue, as long as you do it in the correct order. 😄

Host -> (DB/User) -> Grant

Deleting from right to left works fine, it for example DB is deleted, the grant will be broken because it can't find the referenced Database anymore. This is not an ideal scenario.

The suggestion is to check if something depends on DB/User/Host before allowing to delete.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions