Skip to content

Commit 2c877a5

Browse files
fix: correct collection table name for food item tags
1 parent 1249e50 commit 2c877a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/otavio/aifoodapp/model/FoodItem.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ public class FoodItem {
5252

5353

5454
@ElementCollection(fetch = FetchType.LAZY)
55-
@CollectionTable(name = "tb_food_tems_tags", joinColumns = @JoinColumn(name = "food_item_id"))
55+
@CollectionTable(name = "tb_food_items_tags", joinColumns = @JoinColumn(name = "food_item_id"))
5656
@Column(name = "tag")
5757
private List<String> tags;
5858

0 commit comments

Comments
 (0)