Skip to content

Commit

Permalink
Fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
milesha committed Nov 25, 2024
1 parent ad053a4 commit bf74fdd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public class Session {
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Long id;

@OrderColumn(name = "sentAt")
@OrderColumn
@OneToMany(mappedBy = "session")
private List<Message> messages = new ArrayList<>();

Expand Down

0 comments on commit bf74fdd

Please sign in to comment.