Skip to content

Commit

Permalink
fix : tag
Browse files Browse the repository at this point in the history
  • Loading branch information
NameIsUser06 committed Jan 5, 2024
1 parent c990aa8 commit 1c2b662
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,9 @@ public class Feed {
@Column
private String content;

@Column
@ElementCollection
@CollectionTable(name = "feed_tags", joinColumns = @JoinColumn(name = "feed_id"))
@Column
private List<String> tags;

@ManyToOne
Expand Down

0 comments on commit 1c2b662

Please sign in to comment.