Commit 2bd1a64
committed
[Fix] Remove cascade delete from Blocklist entity relationships
The `cascade = CascadeType.REMOVE` property was removed from the `@ManyToOne` relationships in the `Blocklist` entity. This ensures that deleting a `Blocklist` entry does not unintentionally delete associated `User` entities.1 parent 204cf3a commit 2bd1a64
File tree
1 file changed
+2
-2
lines changed- src/main/java/org/dfbf/soundlink/domain/blocklist/entity
1 file changed
+2
-2
lines changedLines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| |||
0 commit comments