f4c4b496d8
Deleting jobsets first would fail because buildmetrics has an FK to the jobset. However, the jobset / project relationship is not marked as CASCADE. Deleting all the builds automatically cascades to delete buildmetrics, so deleting the relevant builds first, then deleting the jobset solves it. |
||
---|---|---|
.. | ||
Admin | ||
API | ||
Build | ||
Job | ||
Jobset | ||
JobsetEval | ||
Project | ||
Root | ||
metrics.t | ||
projects.t |