Commit d760fd4
fix(dao): Add DELETE CASCADE constraint for path includes table
This constraint was missed when creating the table. It is required for
deleting ORT runs, which will cause foreign key violations otherwise.
Signed-off-by: Oliver Heger <oliver.heger@bosch.com>1 parent 583421f commit d760fd4
File tree
2 files changed
+16
-1
lines changed- dao/src/main/resources/db/migration
- services/ort-run/src/test/kotlin
2 files changed
+16
-1
lines changedLines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
267 | 267 | | |
268 | 268 | | |
269 | 269 | | |
270 | | - | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
271 | 278 | | |
272 | 279 | | |
273 | 280 | | |
| |||
0 commit comments