Skip to content

Commit

Permalink
Merge branch 'feature/java-chat-mvp-intelligence-service' into featur…
Browse files Browse the repository at this point in the history
…e/interface-chat-mvp-intelligence-service
  • Loading branch information
milesha committed Nov 26, 2024
2 parents ae370be + b63a9df commit b959388
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ public class Message {
@Enumerated(EnumType.STRING)
private MessageSender sender;

@Lob
@NonNull
@Column(length=Length.LONG16)
private String content;

@NonNull
Expand Down
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 b959388

Please sign in to comment.