Skip to content

DELETE CASCADE on Foreign Keys #4555

Open
@hannosgit

Description

@hannosgit

Current Behaviour

The current implementation to delete job instances or job executions issues a separate SQL statement for each metadata table. (see #4497)

Suggested Change

If we define the DELETE CASCADE option on each Foreign Key in the metadata table, we could remove all metadata by simply deleting the desired table row and the database will take care of the rest.
As far as I can see each supported database supports the DELETE CASCADE option

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions