Skip to content

Commit

Permalink
🔥 (bommel-api): Confirmed that parent id has index on it
Browse files Browse the repository at this point in the history
  • Loading branch information
byte-sized-emi committed Oct 31, 2024
1 parent dfda978 commit 9572c12
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,6 @@ public class Bommel extends PanacheEntity {
@ManyToOne(cascade = {CascadeType.DETACH, CascadeType.REFRESH})
private Member responsibleMember;

// TODO: Make sure this has an index on it, so we can
// quickly find children
@ManyToOne(fetch = FetchType.LAZY, cascade = {CascadeType.REFRESH, CascadeType.DETACH})
private Bommel parent;

Expand Down

0 comments on commit 9572c12

Please sign in to comment.