Skip to content

Commit

Permalink
fix: build connection between member and group
Browse files Browse the repository at this point in the history
  • Loading branch information
Sion99 committed Nov 18, 2023
1 parent aa518d2 commit 65007f1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/java/com/uspray/uspray/InitDb.java
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ public void dbInit() {
.leader(member)
.name("테스트 모임")
.build();
group.addMember(member);
member.joinGroup(group);
em.persist(group);

Category category = Category.builder()
Expand Down

0 comments on commit 65007f1

Please sign in to comment.