forked from lix-project/hydra
* DB integrity: when deleting a build, get rid of its build steps.
This commit is contained in:
parent
6dc9e45fc8
commit
54a122b49c
|
@ -159,6 +159,7 @@ create trigger cascadeBuildDeletion
|
|||
delete from BuildResultInfo where id = old.id;
|
||||
delete from BuildInputs where build = old.id;
|
||||
delete from BuildProducts where build = old.id;
|
||||
delete from BuildSteps where id = old.id;
|
||||
end;
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue